Skip to content

Commit 0d6f47d

Browse files
IlliantheJonRowe
authored andcommitted
Indent example in the request spec docs (#1909)
1 parent 06ce0da commit 0d6f47d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

features/request_specs/request_spec.feature

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ Feature: request spec
162162
RSpec.describe "Widget management", :type => :request do
163163
164164
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
165+
headers = { "CONTENT_TYPE" => "application/json" }
166+
post "/widgets", :params => '{ "widget": { "name":"My Widget" } }', :headers => headers
167167
expect(response).to redirect_to(assigns(:widget))
168168
end
169169

0 commit comments

Comments
 (0)