Skip to content
Snippets Groups Projects
Commit bee912fe authored by Tim Zallmann's avatar Tim Zallmann
Browse files

Micro enablement for interest cohort spec

parent 1da6013a
No related merge requests found
......@@ -12,8 +12,6 @@ def floc_enabled?
end
def set_floc_opt_out_header
if !Rails.env.test?
response.headers['Permissions-Policy'] = 'interest-cohort=()'
end
response.headers['Permissions-Policy'] = 'interest-cohort=()' unless Rails.env.test?
end
end
......@@ -1097,6 +1097,7 @@ def redirect_to_example
get 'index' => 'anonymous#index'
get 'redirect' => 'anonymous#redirect'
end
allow(Rails.env).to receive(:test?).and_return(false)
end
context 'with FloC enabled' do
......
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