Created
February 16, 2014 20:00
-
-
Save art-solopov/9039779 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
def test_creation | |
test_ob = TestObject.new | |
test_ob.save | |
# Do some assertions | |
# about saving here | |
end | |
def test_deletion | |
test_ob = TestObject.new | |
test_ob.save | |
test_ob.destroy | |
# Do some assertions | |
# about destruction here | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment