diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2024-08-13 11:54:47 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2024-08-13 11:54:47 +0200 |
commit | eedade0a0d7e7aa14f955a208e1531050af6e1ea (patch) | |
tree | ffe53d5f9fd6c1d95308e42350c2f05b05b564c5 /spec | |
parent | c28a42e3475535f033f4d51fc8cd24febb28afd5 (diff) | |
download | zorglub-eedade0a0d7e7aa14f955a208e1531050af6e1ea.zip zorglub-eedade0a0d7e7aa14f955a208e1531050af6e1ea.tar.gz |
fix raise_error spec
Diffstat (limited to 'spec')
-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 |