Fixing the specs. Take 2.

This commit is contained in:
Gerhard Schlager 2019-12-13 13:05:17 +01:00
parent 2e8c23f0d0
commit c068804a0a
1 changed files with 0 additions and 1 deletions

View File

@ -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