Skip to content

Commit 769202d

Browse files
committed
Fix spec
1 parent ee68523 commit 769202d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/gon/jbuilder_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
it 'should raise error if you use gon.jbuilder without requiring jbuilder gem' do
4343
Gon.send(:remove_const, :Jbuilder)
4444

45-
expect { Gon.jbuilder 'some_path' }.to raise_error(NameError)
45+
expect { Gon.jbuilder 'some_path' }.to raise_error
4646
load 'jbuilder.rb'
4747
load 'gon/jbuilder.rb'
4848
end

0 commit comments

Comments
 (0)