File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
features/controller_specs Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -90,12 +90,12 @@ Feature: controller spec
90
90
describe "responds to" do
91
91
it "responds to html by default" do
92
92
post :create, :params => { :widget => { :name => "Any Name" } }
93
- expect(response.content_type).to eq "text/html; charset=utf-8"
94
- end
93
+ expect(response.content_type).to eq "text/html; charset=utf-8"
94
+ end
95
95
96
- it "responds to custom formats when provided in the params" do
97
- post :create, :params => { :widget => { :name => "Any Name" }, :format => :json }
98
- expect(response.content_type).to eq "application/json; charset=utf-8"
96
+ it "responds to custom formats when provided in the params" do
97
+ post :create, :params => { :widget => { :name => "Any Name" }, :format => :json }
98
+ expect(response.content_type).to eq "application/json; charset=utf-8"
99
99
end
100
100
end
101
101
end
You can’t perform that action at this time.
0 commit comments