Skip to content

Instantly share code, notes, and snippets.

@revelation
Created July 27, 2008 20:44
Show Gist options
  • Save revelation/2805 to your computer and use it in GitHub Desktop.
Save revelation/2805 to your computer and use it in GitHub Desktop.
it "should create when dirty" do
pending
lambda do
Zoo.new(:city => "San Diego").save
end.should change(Zoo, :all).by(1)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment