From c068804a0aa49955b90c8d3784f97f6d25f7a79c Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Fri, 13 Dec 2019 13:05:17 +0100 Subject: [PATCH] Fixing the specs. Take 2. --- spec/requests/application_controller_spec.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/requests/application_controller_spec.rb b/spec/requests/application_controller_spec.rb index a2aa723434e..113bf254941 100644 --- a/spec/requests/application_controller_spec.rb +++ b/spec/requests/application_controller_spec.rb @@ -536,7 +536,6 @@ RSpec.describe ApplicationController do script_src = parse(response.headers['Content-Security-Policy'])['script-src'] expect(script_src).to include('example.com') - expect(script_src).to include("'unsafe-eval'") end it 'does not set CSP when responding to non-HTML' do