Skip to content

Instantly share code, notes, and snippets.

@revelation
Created July 27, 2008 20:32
Show Gist options
  • Save revelation/2804 to your computer and use it in GitHub Desktop.
Save revelation/2804 to your computer and use it in GitHub Desktop.
it "should save child assosciations" do
repository(ADAPTER) do
animal = Animal.new
@zoo.animals << animal
@zoo.save
animal.new_record?.should be_false
end
end
should save child assosciations
uninitialized constant DataObjects::Mock::Connection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment