We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a90cc9 commit 409d78cCopy full SHA for 409d78c
features/request_specs/request_spec.feature
@@ -162,8 +162,8 @@ Feature: request spec
162
RSpec.describe "Widget management", :type => :request do
163
164
it "creates a Widget and redirects to the Widget's page" do
165
- headers = { "CONTENT_TYPE" => "application/json" }
166
- post "/widgets", :params => '{ "widget": { "name":"My Widget" } }', :headers => headers
+ headers = { "CONTENT_TYPE" => "application/json" }
+ post "/widgets", :params => '{ "widget": { "name":"My Widget" } }', :headers => headers
167
expect(response).to redirect_to(assigns(:widget))
168
end
169
0 commit comments