Created
June 1, 2009 14:44
-
-
Save trystant/121455 to your computer and use it in GitHub Desktop.
This file contains 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 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