make one spec work on ruby 1.8.6

This commit is contained in:
Will Leinweber 2010-03-15 19:07:41 -05:00
parent ef6739774b
commit d3d67f724c

View file

@ -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