Skip to content

Commit 9626ec0

Browse files
committed
Avoid line split in relish doc
1 parent fdd97dd commit 9626ec0

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

features/controller_specs/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,8 @@ To specify outcomes, you can use:
6363

6464
## Headers
6565

66-
We encourage you to use [request specs](https://relishapp.com/rspec/rspec-rails/docs/request-specs/request-spec) if you want
67-
to set headers in your call. If you still want to use controller specs with custom http headers
68-
you can use `request.headers`:
66+
We encourage you to use [request specs](https://relishapp.com/rspec/rspec-rails/docs/request-specs/request-spec) if you want to set headers in your call.
67+
If you still want to use controller specs with custom http headers you can use `request.headers`:
6968

7069
require "rails_helper"
7170

features/controller_specs/headers.feature

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
Feature: Headers
22

3-
We recommend you to switch to request specs instead of controller specs
4-
if you want to set headers in your call.
5-
If you still want to set headers in controller specs, you can use
6-
`request.headers` as mentioned bellow.
3+
We recommend you to switch to request specs instead of controller specs if you want to set
4+
headers in your call.
5+
If you still want to set headers in controller specs, you can use `request.headers` as
6+
mentioned bellow.
77

88
Scenario: Setting a header value in a controller spec
99
Given a file named "spec/controllers/application_controller_spec.rb" with:

0 commit comments

Comments
 (0)