summaryrefslogtreecommitdiff
path: root/spec/ruby/core/data/hash_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/data/hash_spec.rb')
-rw-r--r--spec/ruby/core/data/hash_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/data/hash_spec.rb b/spec/ruby/core/data/hash_spec.rb
index c23f08a71d..bab146c92e 100644
--- a/spec/ruby/core/data/hash_spec.rb
+++ b/spec/ruby/core/data/hash_spec.rb
@@ -6,7 +6,7 @@ describe "Data#hash" do
a = DataSpecs::Measure.new(42, "km")
b = DataSpecs::Measure.new(42, "km")
a.hash.should == b.hash
- a.hash.should be_an_instance_of(Integer)
+ a.hash.should.instance_of?(Integer)
end
it "returns different hashes for objects with different values" do