mongoid 0.11.1 → 0.11.2
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY +5 -0
- data/VERSION +1 -1
- data/lib/mongoid/associations/has_many_related.rb +1 -0
- data/lib/mongoid/associations/has_one_related.rb +1 -0
- data/mongoid.gemspec +1 -1
- data/spec/unit/mongoid/associations/has_many_related_spec.rb +4 -0
- data/spec/unit/mongoid/associations/has_one_related_spec.rb +4 -0
- metadata +1 -1
data/HISTORY
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.11.
|
1
|
+
0.11.2
|
data/mongoid.gemspec
CHANGED
@@ -165,6 +165,10 @@ describe Mongoid::Associations::HasManyRelated do
|
|
165
165
|
@association.create(:title => "Sassy")
|
166
166
|
end
|
167
167
|
|
168
|
+
it "returns the new object" do
|
169
|
+
@association.create(:title => "Sassy").should be_a_kind_of(Post)
|
170
|
+
end
|
171
|
+
|
168
172
|
end
|
169
173
|
|
170
174
|
describe "#find" do
|