Class: TestCase

Inherits:
Minitest::Test
  • Object
show all
Defined in:
lib/grapethor/templates/minitest/test/support/test_case.rb

Instance Method Summary collapse

Instance Method Details

#setupObject


2
3
4
# File 'lib/grapethor/templates/minitest/test/support/test_case.rb', line 2

def setup
  DatabaseCleaner.start
end

#teardownObject


6
7
8
# File 'lib/grapethor/templates/minitest/test/support/test_case.rb', line 6

def teardown
  DatabaseCleaner.clean
end