spec/model/parse_spec.rb in her-0.10.2 vs spec/model/parse_spec.rb in her-0.10.3
- old
+ new
@@ -249,9 +249,10 @@
spawn_model("Foo::User") { parse_root_in_json :person }
end
it "parse the data with the symbol" do
@new_user = Foo::User.create(fullname: "Lindsay Fünke")
+ expect(@new_user.id).to eq(1)
expect(@new_user.fullname).to eq("Lindsay Fünke")
end
end
context "in the parent class" do