diff options
Diffstat (limited to 'spec/features/one_trust_spec.rb')
-rw-r--r-- | spec/features/one_trust_spec.rb | 2 |
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 |