collectiveidea / json_spec

Easily handle JSON in RSpec and Cucumber
rubygems.org/gems/json_spec
MIT License
919 stars 114 forks source link

Fix uninitialized ivar warning #77

Closed indirect closed 7 years ago

indirect commented 10 years ago

Initialize the @path instance variable to fix this warning:

be_json_eql.rb:21: warning: instance variable @path not initialized
skalee commented 10 years ago

+1. This change is harmless and yes, depending on interpreter settings, you can experience a warning.

lamielle commented 9 years ago

Any chance this will get merged soon and a new release pushed out? I don't want to disable rspec warnings but I really don't want libraries I depend on to display warnings like these.