From d3d67f724c788120a44b97c92c06f0ba1fb62701 Mon Sep 17 00:00:00 2001 From: Will Leinweber Date: Mon, 15 Mar 2010 19:07:41 -0500 Subject: [PATCH] make one spec work on ruby 1.8.6 --- spec/couchrest/more/property_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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