diff --git a/spec/rails_helper.rb b/spec/rails_helper.rb index aaf587f49b2..5a6b7dc76bb 100644 --- a/spec/rails_helper.rb +++ b/spec/rails_helper.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -ENV['RAILS_ENV'] ||= 'test' +ENV['RAILS_ENV'] = 'test' # This needs to be defined before Rails is initialized RUN_SYSTEM_SPECS = ENV.fetch('RUN_SYSTEM_SPECS', false)