diff options
author | dblock <dblock@dblock.org> | 2014-06-03 09:35:55 -0700 |
---|---|---|
committer | dblock <dblock@dblock.org> | 2014-06-03 09:35:55 -0700 |
commit | 2c8d5d56ed8cceba6a37e0bd09af6c5b54d8c851 (patch) | |
tree | 9020a2ad54fd8f27712e88c957bdb6235eb2232b /spec/hashie/extensions/indifferent_access_spec.rb | |
parent | 41e6c676e15bc4c8333202bd49373c88ec1129f6 (diff) | |
download | hashie-2c8d5d56ed8cceba6a37e0bd09af6c5b54d8c851.tar.gz |
Upgraded to RSpec 3.0.
Diffstat (limited to 'spec/hashie/extensions/indifferent_access_spec.rb')
-rw-r--r-- | spec/hashie/extensions/indifferent_access_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/hashie/extensions/indifferent_access_spec.rb b/spec/hashie/extensions/indifferent_access_spec.rb index d50f083..8ae982d 100644 --- a/spec/hashie/extensions/indifferent_access_spec.rb +++ b/spec/hashie/extensions/indifferent_access_spec.rb @@ -103,12 +103,12 @@ describe Hashie::Extensions::IndifferentAccess do it 'removes old keys' do [:foo, 'foo'].each do |k| expect(h[k]).to be_nil - expect(h.key?(k)).to be_false + expect(h.key?(k)).to be_falsy end end it 'creates new keys with indifferent access' do - [:bar, 'bar', :hi, 'hi'].each { |k| expect(h.key?(k)).to be_true } + [:bar, 'bar', :hi, 'hi'].each { |k| expect(h.key?(k)).to be_truthy } expect(h[:bar]).to eq 'baz' expect(h['bar']).to eq 'baz' expect(h[:hi]).to eq 'bye' |