From a284c6599209d4142da43f1774ecda37adadebaa Mon Sep 17 00:00:00 2001 From: Sam Lown Date: Sat, 30 Apr 2011 13:20:09 +0200 Subject: [PATCH] Test fix --- spec/couchrest/property_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/couchrest/property_spec.rb b/spec/couchrest/property_spec.rb index 23c9010..6acc2f0 100644 --- a/spec/couchrest/property_spec.rb +++ b/spec/couchrest/property_spec.rb @@ -60,7 +60,7 @@ describe "Model properties" do end it "should not raise error if property name coincides with model type key on non-model" do - lambda { CatToy.property(Cat.model_type_key) }.should_not raise_error + lambda { Person.property(Article.model_type_key) }.should_not raise_error end it "should be auto timestamped" do