summaryrefslogtreecommitdiff
path: root/spec/ruby/core/range/hash_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/range/hash_spec.rb')
-rw-r--r--spec/ruby/core/range/hash_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/ruby/core/range/hash_spec.rb b/spec/ruby/core/range/hash_spec.rb
index 4f2681e86e..087f5d6de8 100644
--- a/spec/ruby/core/range/hash_spec.rb
+++ b/spec/ruby/core/range/hash_spec.rb
@@ -15,10 +15,10 @@ describe "Range#hash" do
end
it "generates an Integer for the hash value" do
- (0..0).hash.should be_an_instance_of(Integer)
- (0..1).hash.should be_an_instance_of(Integer)
- (0...10).hash.should be_an_instance_of(Integer)
- (0..10).hash.should be_an_instance_of(Integer)
+ (0..0).hash.should.instance_of?(Integer)
+ (0..1).hash.should.instance_of?(Integer)
+ (0...10).hash.should.instance_of?(Integer)
+ (0..10).hash.should.instance_of?(Integer)
end
end