Skip to content

Commit f9e5f1b

Browse files
committed
Correct ws
1 parent 9e48616 commit f9e5f1b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

features/controller_specs/controller_spec.feature

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ Feature: controller spec
9090
describe "responds to" do
9191
it "responds to html by default" do
9292
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
9595
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"
9999
end
100100
end
101101
end

0 commit comments

Comments
 (0)