diff --git a/spec/couchrest/more/property_spec.rb b/spec/couchrest/more/property_spec.rb index 71adfcd..c545ee0 100644 --- a/spec/couchrest/more/property_spec.rb +++ b/spec/couchrest/more/property_spec.rb @@ -172,7 +172,7 @@ describe "ExtendedDocument properties" do describe "when type primitive is an Object" do it "it should not cast given value" do @course.participants = [{}, 'q', 1] - @course['participants'].should eql([{}, 'q', 1]) + @course['participants'].should == [{}, 'q', 1] end it "should cast started_on to Date" do