diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/hashie/mash_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/hashie/mash_spec.rb b/spec/hashie/mash_spec.rb index 63ec4e6..f55cc59 100644 --- a/spec/hashie/mash_spec.rb +++ b/spec/hashie/mash_spec.rb @@ -200,9 +200,9 @@ describe Hashie::Mash do it 'leaves only specified keys' do subject.keys.sort.should == ['details', 'middle_name'] subject.first_name?.should be_false - subject.first_name.should be_nil + subject.should_not respond_to(:first_name) subject.last_name?.should be_false - subject.last_name.should be_nil + subject.should_not respond_to(:last_name) end end |