mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
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:
committed by
Konrad
parent
9609ba4268
commit
a1d3b20e5b
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user