From 1925aea97aaf928435c61beb194055ce5cccd644 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Tapaj=C3=B3s?= Date: Tue, 3 Aug 2010 23:09:05 -0300 Subject: [PATCH] Fixing documentation and two describes --- lib/couchrest/model/base.rb | 2 +- spec/couchrest/inherited_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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