Fixing documentation and two describes
This commit is contained in:
parent
5e573cbbee
commit
1925aea97a
|
@ -39,7 +39,7 @@ module CouchRest
|
||||||
attr_accessor :casted_by
|
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.
|
# using the provided document hash.
|
||||||
#
|
#
|
||||||
# Options supported:
|
# Options supported:
|
||||||
|
|
|
@ -21,14 +21,14 @@ begin
|
||||||
class ExtendedChild < ExtendedParent
|
class ExtendedChild < ExtendedParent
|
||||||
end
|
end
|
||||||
|
|
||||||
describe "Using chained inheritance without CouchRest::ExtendedDocument" do
|
describe "Using chained inheritance without CouchRest::Model::Base" do
|
||||||
it "should preserve inheritable attributes" do
|
it "should preserve inheritable attributes" do
|
||||||
PlainParent.foo.should == :bar
|
PlainParent.foo.should == :bar
|
||||||
PlainChild.foo.should == :bar
|
PlainChild.foo.should == :bar
|
||||||
end
|
end
|
||||||
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
|
it "should preserve inheritable attributes" do
|
||||||
ExtendedParent.foo.should == :bar
|
ExtendedParent.foo.should == :bar
|
||||||
ExtendedChild.foo.should == :bar
|
ExtendedChild.foo.should == :bar
|
||||||
|
|
Loading…
Reference in a new issue