spec/structure_spec.rb in structure-0.9.0 vs spec/structure_spec.rb in structure-0.10.0
- old
+ new
@@ -152,10 +152,10 @@
end
end
context "when type is Structure" do
before(:all) do
- Person.has_one :father
+ Person.embeds_one :father
end
context "when setting to a value that is not a Structure" do
it "raises an error" do
expect do