Permalink
Browse files

Merge pull request #7 from trevormast/feature/rspec_warning

Specifies error raised when setting public method as variable in specs
  • Loading branch information...
2 parents 411e69e + 9edbe74 commit 702b299fdbe8658efe8fcf5bdb8de00bdf6c524f @gazay committed Apr 29, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/gon/gon_spec.rb
View
@@ -49,7 +49,7 @@ def app
it 'returns exception if try to set public method as variable' do
@gon.clear
- expect { @gon.all_variables = 123 }.to raise_error
+ expect { @gon.all_variables = 123 }.to raise_error(RuntimeError)
end
it 'should be threadsafe' do

0 comments on commit 702b299

Please sign in to comment.