Commit 7cf1a425 authored by Jeroen van Baarsen's avatar Jeroen van Baarsen

Disable fixtures

Signed-off-by: default avatarJeroen van Baarsen <jeroenvanbaarsen@gmail.com>
parent bd65f486
...@@ -27,6 +27,8 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f} ...@@ -27,6 +27,8 @@ Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
WebMock.disable_net_connect!(allow_localhost: true) WebMock.disable_net_connect!(allow_localhost: true)
RSpec.configure do |config| RSpec.configure do |config|
config.use_transactional_fixtures = false
config.use_instantiated_fixtures = false
config.mock_with :rspec config.mock_with :rspec
config.include LoginHelpers, type: :feature config.include LoginHelpers, type: :feature
...@@ -39,7 +41,6 @@ RSpec.configure do |config| ...@@ -39,7 +41,6 @@ RSpec.configure do |config|
# If you're not using ActiveRecord, or you'd prefer not to run each of your # 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 # examples within a transaction, remove the following line or assign false
# instead of true. # instead of true.
config.use_transactional_fixtures = false
config.before(:suite) do config.before(:suite) do
TestEnv.init(observers: false, init_repos: true, repos: false) TestEnv.init(observers: false, init_repos: true, repos: false)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment