summaryrefslogtreecommitdiff
path: root/spec/ruby/core/hash/any_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/hash/any_spec.rb')
-rw-r--r--spec/ruby/core/hash/any_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/hash/any_spec.rb b/spec/ruby/core/hash/any_spec.rb
index bd33e8cd8f..c26dfabde6 100644
--- a/spec/ruby/core/hash/any_spec.rb
+++ b/spec/ruby/core/hash/any_spec.rb
@@ -4,10 +4,10 @@ describe "Hash#any?" do
describe 'with no block given' do
it "checks if there are any members of a Hash" do
empty_hash = {}
- empty_hash.any?.should == false
+ empty_hash.should_not.any?
hash_with_members = { 'key' => 'value' }
- hash_with_members.any?.should == true
+ hash_with_members.should.any?
end
end