Created
May 19, 2015 19:27
-
-
Save lynndylanhurley/ef7e2aa64e0152d2c9ef to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # init db cleaner before each test | |
| config.before(:each) do | |
| DatabaseCleaner.start | |
| end | |
| # execute db cleaning after each test | |
| config.after(:each) do | |
| DatabaseCleaner.clean | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment