Skip to content

Commit b8ca818

Browse files
committed
fix copy/paste mistake
1 parent 9b77a7c commit b8ca818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/lib/secure_headers/headers/content_security_policy_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def request_for user_agent, request_uri=nil, options={:ssl => false}
195195
expect(header.value).to include("script-src 'self' 'nonce-#{header.nonce}' 'unsafe-inline'")
196196
end
197197

198-
it "adds a nonce and unsafe-inline to the script-src value when using firefox" do
198+
it "adds a nonce and unsafe-inline to the script-src value when using opera" do
199199
header = ContentSecurityPolicy.new(default_opts.merge(:script_src => "self nonce"), :request => request_for(OPERA))
200200
expect(header.value).to include("script-src 'self' 'nonce-#{header.nonce}' 'unsafe-inline'")
201201
end

0 commit comments

Comments
 (0)