Nicolae Claudius
11 years ago
4 changed files with 12 additions and 19 deletions
@ -1,16 +0,0 @@
|
||||
RSpec.configure do |config| |
||||
|
||||
config.before(:suite) do |
||||
DatabaseCleaner.strategy = :transaction |
||||
DatabaseCleaner.clean_with(:truncation) |
||||
end |
||||
|
||||
config.before(:each) do |
||||
DatabaseCleaner.start |
||||
end |
||||
|
||||
config.after(:each) do |
||||
DatabaseCleaner.clean |
||||
end |
||||
|
||||
end |
Loading…
Reference in new issue