diff --git a/spec/recursive_open_struct/ostruct_2_0_0_spec.rb b/spec/recursive_open_struct/ostruct_2_0_0_spec.rb index f3472d6..ae038bc 100644 --- a/spec/recursive_open_struct/ostruct_2_0_0_spec.rb +++ b/spec/recursive_open_struct/ostruct_2_0_0_spec.rb @@ -89,7 +89,7 @@ context "hash" do it "calculates table hash" do - expect(ros.hash).to be ros.instance_variable_get('@table').hash + expect(ros.hash).to eq(ros.instance_variable_get('@table').hash) end end