diff options
-rw-r--r-- | spec/node_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/node_spec.rb b/spec/node_spec.rb index 785da42..f7f8e9a 100644 --- a/spec/node_spec.rb +++ b/spec/node_spec.rb @@ -73,7 +73,7 @@ describe Zorglub do end it 'should raise error when too much arguments' do - expect(-> { Node0.my_call '/with_2args/1/2/3' }).to raise_error ArgumentError + expect { Node0.my_call '/with_2args/1/2/3' }.to raise_error ArgumentError end it 'layout proc, method level layout and engine definitions should work' do |