diff options
Diffstat (limited to 'spec/ruby/core/struct/eql_spec.rb')
-rw-r--r-- | spec/ruby/core/struct/eql_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/struct/eql_spec.rb b/spec/ruby/core/struct/eql_spec.rb index 229e81198f..c864b2b943 100644 --- a/spec/ruby/core/struct/eql_spec.rb +++ b/spec/ruby/core/struct/eql_spec.rb @@ -8,6 +8,6 @@ describe "Struct#eql?" do it "returns false if any corresponding elements are not #eql?" do car = StructClasses::Car.new("Honda", "Accord", 1998) similar_car = StructClasses::Car.new("Honda", "Accord", 1998.0) - car.send(@method, similar_car).should be_false + car.should_not eql(similar_car) end end |