Remove the fact ToS file

Now that we check if there is a ToS file before displaying the banner
it's not needed anymore
This commit is contained in:
Gaetan Craig-Riou
2023-12-01 13:53:46 +11:00
committed by Konrad
parent 9609ba4268
commit a1d3b20e5b

View File

@@ -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 }