Commit 7cf1a4259ac123725f2eb0ab6fc682e739d45734
1 parent
bd65f486
Exists in
spb-stable
and in
2 other branches
Disable fixtures
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
spec/spec_helper.rb
| ... | ... | @@ -27,6 +27,8 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} |
| 27 | 27 | WebMock.disable_net_connect!(allow_localhost: true) |
| 28 | 28 | |
| 29 | 29 | RSpec.configure do |config| |
| 30 | + config.use_transactional_fixtures = false | |
| 31 | + config.use_instantiated_fixtures = false | |
| 30 | 32 | config.mock_with :rspec |
| 31 | 33 | |
| 32 | 34 | config.include LoginHelpers, type: :feature |
| ... | ... | @@ -39,7 +41,6 @@ RSpec.configure do |config| |
| 39 | 41 | # If you're not using ActiveRecord, or you'd prefer not to run each of your |
| 40 | 42 | # examples within a transaction, remove the following line or assign false |
| 41 | 43 | # instead of true. |
| 42 | - config.use_transactional_fixtures = false | |
| 43 | 44 | |
| 44 | 45 | config.before(:suite) do |
| 45 | 46 | TestEnv.init(observers: false, init_repos: true, repos: false) | ... | ... |