aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rails_helper.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-12-11 16:44:23 +0100
committerTeddy Wing2017-12-11 16:44:23 +0100
commitc84154201959197a99de202d97baff1c812dead9 (patch)
tree9dfb50de7d6a4685e693a52ead7b65acced4d738 /spec/rails_helper.rb
parentb72e4dee4766b6cf310634ff404caf589c917349 (diff)
downloadchouette-core-c84154201959197a99de202d97baff1c812dead9.tar.bz2
rails_helper.rb: Remove `use_transactional_fixtures = true`
We want `DatabaseCleaner` to handle our database cleanup because sometimes we need to use a database truncation strategy instead of transactions. I need it to test the `Referential` table lock. This line gets removed instead of the config being set to `false` here because we defer to `spec_helper.rb` which already does that and does the `DatabaseCleaner` stuff through `spec/support/referential.rb`. Refs #5024
Diffstat (limited to 'spec/rails_helper.rb')
-rw-r--r--spec/rails_helper.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb
index 47578405e..9eb628d95 100644
--- a/spec/rails_helper.rb
+++ b/spec/rails_helper.rb
@@ -32,11 +32,6 @@ RSpec.configure do |config|
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "#{::Rails.root}/spec/fixtures"
- # If you're not using ActiveRecord, or you'd prefer not to run each of your
- # examples within a transaction, remove the following line or assign false
- # instead of true.
- config.use_transactional_fixtures = true
-
# RSpec Rails can automatically mix in different behaviours to your tests
# based on their file location, for example enabling you to call `get` and
# `post` in specs under `spec/controllers`.