diff --git a/lib/couchrest/model/base.rb b/lib/couchrest/model/base.rb index 5a80d49..2a5c602 100644 --- a/lib/couchrest/model/base.rb +++ b/lib/couchrest/model/base.rb @@ -39,7 +39,7 @@ module CouchRest attr_accessor :casted_by - # Instantiate a new ExtendedDocument by preparing all properties + # Instantiate a new CouchRest::Model::Base by preparing all properties # using the provided document hash. # # Options supported: diff --git a/spec/couchrest/inherited_spec.rb b/spec/couchrest/inherited_spec.rb index a661d01..69eba6a 100644 --- a/spec/couchrest/inherited_spec.rb +++ b/spec/couchrest/inherited_spec.rb @@ -21,14 +21,14 @@ begin class ExtendedChild < ExtendedParent end - describe "Using chained inheritance without CouchRest::ExtendedDocument" do + describe "Using chained inheritance without CouchRest::Model::Base" do it "should preserve inheritable attributes" do PlainParent.foo.should == :bar PlainChild.foo.should == :bar end end - describe "Using chained inheritance with CouchRest::ExtendedDocument" do + describe "Using chained inheritance with CouchRest::Model::Base" do it "should preserve inheritable attributes" do ExtendedParent.foo.should == :bar ExtendedChild.foo.should == :bar