Fixing documentation and two describes

This commit is contained in:
Marcos Tapajós 2010-08-03 23:09:05 -03:00 committed by Sam Lown
parent 5e573cbbee
commit 1925aea97a
2 changed files with 3 additions and 3 deletions

View file

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

View file

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