diff --git a/spec/system_helper.rb b/spec/system_helper.rb index 1b70ce8474..4af20f4f56 100644 --- a/spec/system_helper.rb +++ b/spec/system_helper.rb @@ -2,12 +2,5 @@ require "base_spec_helper" -RSpec.configure do |config| - # Set up a fake ToS file - config.before(:each, type: :system) do - allow(TermsOfServiceFile).to receive(:updated_at).and_return(2.hours.ago) - end -end - # system/support/ files contain system tests configurations and helpers Dir[File.join(__dir__, "system/support/**/*.rb")].sort.each { |file| require file }