Commit 56224f1befed012a64048311e8c856af19a5429c
1 parent
ff599a42
Exists in
staging
and in
42 other branches
Speed up selenium tests
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
features/support/selenium.rb
... | ... | @@ -10,7 +10,7 @@ end |
10 | 10 | |
11 | 11 | # FIXME: 'DELETE FROM ...' is being ran 3x - see cucumber.log |
12 | 12 | DatabaseCleaner.clean_with :truncation |
13 | -DatabaseCleaner.strategy = :truncation | |
13 | +DatabaseCleaner.strategy = :truncation, {:pre_count => true, :reset_ids => false} | |
14 | 14 | |
15 | 15 | Before do |
16 | 16 | DatabaseCleaner.start | ... | ... |