spec/unit/hanami/config/actions/default_values_spec.rb in hanami-2.0.0.rc1 vs spec/unit/hanami/config/actions/default_values_spec.rb in hanami-2.0.0
- old
+ new
@@ -24,17 +24,9 @@
describe "view_name_inference_base" do
specify { expect(config.view_name_inference_base).to eq "views" }
end
describe "new default values applied to base action settings" do
- describe "default_request_format" do
- specify { expect(config.default_request_format).to eq :html }
- end
-
- describe "default_response_format" do
- specify { expect(config.default_response_format).to eq :html }
- end
-
describe "content_security_policy" do
specify { expect(config.content_security_policy).to be_kind_of(Hanami::Config::Actions::ContentSecurityPolicy) }
end
describe "default_headers" do