aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-12-13 18:25:08 +0100
committerTeddy Wing2017-12-13 18:25:08 +0100
commitd2c0d80c7aaeb61d373f084f13bb007e1f41527e (patch)
tree40de3d2855c75722a8fcc5ee9a9cc0fabfa07dd3
parenta9557b7f042dd25c56d0af75d55fadb63e862a26 (diff)
downloadchouette-core-d2c0d80c7aaeb61d373f084f13bb007e1f41527e.tar.bz2
spec/support/referential: Restore old exclusions for truncation
Since the tests I was trying to use `truncation` for are now skipped, remove these exceptions and revert this line back to what it was before all this mess. Refs #5024
-rw-r--r--spec/support/referential.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/spec/support/referential.rb b/spec/support/referential.rb
index 3a41b2e70..c0ae35779 100644
--- a/spec/support/referential.rb
+++ b/spec/support/referential.rb
@@ -79,13 +79,7 @@ RSpec.configure do |config|
end
config.before(:each, truncation: true) do
- DatabaseCleaner.strategy = :truncation, {
- except: %w[
- spatial_ref_sys
- referentials
- line_referentials
- ]
- }
+ DatabaseCleaner.strategy = :truncation, { except: %w[spatial_ref_sys] }
end
config.before(:each) do