Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/one_trust_spec.rb')
-rw-r--r--spec/features/one_trust_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/one_trust_spec.rb b/spec/features/one_trust_spec.rb
index 0ed08e8b99b..a7dfbfd6bdf 100644
--- a/spec/features/one_trust_spec.rb
+++ b/spec/features/one_trust_spec.rb
@@ -15,7 +15,7 @@ RSpec.describe 'OneTrust' do
end
it 'has the OneTrust CSP settings', :aggregate_failures do
- expect(response_headers['Content-Security-Policy']).to include("#{onetrust_url}")
+ expect(response_headers['Content-Security-Policy']).to include(onetrust_url.to_s)
expect(page.html).to include("https://cdn.cookielaw.org/consent/#{one_trust_id}/OtAutoBlock.js")
end
end