Created
July 27, 2008 20:19
-
-
Save revelation/2800 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
describe '#save' do | |
describe 'with a new resource' do | |
it "should save child assosciations" | |
it "should set defaults before create" | |
it "should create when the resource is dirty" do | |
zoo = Zoo.new | |
zoo.name = "San Diego" | |
zoo.should_receive(:create) | |
zoo.save | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment