Skip to content

Instantly share code, notes, and snippets.

@dbussink
Created November 1, 2008 19:03
Show Gist options
  • Save dbussink/21554 to your computer and use it in GitHub Desktop.
Save dbussink/21554 to your computer and use it in GitHub Desktop.
describe 'with new resources in a has relationship' do
it 'should save the new resources'
it 'should ensure all new resources have the proper foreign key'
end
describe 'with dirty resources in a has relationship' do
it 'should save the dirty resources'
it 'should ensure all dirty resources have the proper foreign key'
end
describe 'with a new parent object' do
it 'should raise an exception when saving the resource'
end
describe 'with a dirty parent object' do
it 'should still have a dirty parent object after saving'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment