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