spec/unit/hanami/config/actions/default_values_spec.rb in hanami-2.0.0.beta4 vs spec/unit/hanami/config/actions/default_values_spec.rb in hanami-2.0.0.rc1
- old
+ new
@@ -44,10 +44,10 @@
expect(config.default_headers).to eq(
"X-Frame-Options" => "DENY",
"X-Content-Type-Options" => "nosniff",
"X-XSS-Protection" => "1; mode=block",
- "Content-Security-Policy" => config.content_security_policy.to_str
+ "Content-Security-Policy" => config.content_security_policy.to_s
)
}
end
end
end