Created
December 12, 2008 21:33
-
-
Save cpjolicoeur/35280 to your computer and use it in GitHub Desktop.
This test actually passes. How? I HAVE NO IDEA
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
def test_should_add_a_conversation_subscription | |
user = Factory.create( :user ) | |
convo = Factory.create( :conversation ) | |
assert_equal 0, convo.subscriptions.size | |
assert_equal 1, convo.subscriptions.size | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment