Created
July 25, 2019 20:02
-
-
Save marlosirapuan/2eac35c79144e12c2d5878bb365d31db to your computer and use it in GitHub Desktop.
Minitest hooks
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
class ActiveSupport::TestCase | |
def self.prepare | |
# Add code that needs to be executed before test suite start | |
end | |
prepare | |
def setup | |
# Add code that need to be executed before each test | |
end | |
def teardown | |
# Add code that need to be executed after each test | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment