Skip to content

Instantly share code, notes, and snippets.

@trystant
Created June 1, 2009 14:44
Show Gist options
  • Save trystant/121455 to your computer and use it in GitHub Desktop.
Save trystant/121455 to your computer and use it in GitHub Desktop.
describe AccountProxy, 'associations' do
it 'should belong to an account' do
AccountProxy.new.should belong_to(:account)
end
it 'should belong to a point source' do
AccountProxy.new.should belong_to(:point_source)
end
it 'should have many transfers' do
AccountProxy.new.should have_many(:transfers)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment