Skip to content

Commit fdd97dd

Browse files
committed
Grammatical tweaks
1 parent 2d6ecb6 commit fdd97dd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

features/controller_specs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ To specify outcomes, you can use:
6464
## Headers
6565

6666
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 a controller specs with custom http headers
68-
you could use `request.headers`:
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`:
6969

7070
require "rails_helper"
7171

features/controller_specs/headers.feature

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

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

8-
Scenario: Set header's value in controller spec
8+
Scenario: Setting a header value in a controller spec
99
Given a file named "spec/controllers/application_controller_spec.rb" with:
1010
"""ruby
1111
require "rails_helper"

0 commit comments

Comments
 (0)