Cesidio Di Landa
12 years ago
5 changed files with 29 additions and 4 deletions
@ -1 +1 @@ |
|||
0.1.3 |
|||
0.1.4 |
|||
|
@ -0,0 +1,15 @@ |
|||
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