Skip to content

Commit

Permalink
Correct grammatical issues
Browse files Browse the repository at this point in the history
  • Loading branch information
benoittgt committed May 14, 2019
1 parent 76da141 commit 81d0d60
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions features/controller_specs/cookies.feature
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
Feature: Cookies

There is different ways to test cookies in controller's tests be we recommend
to use `cookies` as below.
There are different ways to make assertions on cookies from controller specs,
but we recommend using the `cookies` method as set out below.

You can use strings or symbols to fetch or set your cookies because `cookies`
support indifferent access.
You can use strings or symbols to fetch or set your cookies because the `cookies`
method supports indifferent access.

Scenario: Testing cookie's value cleared in controller
Given a file named "spec/controllers/application_controller_spec.rb" with:
Expand Down

0 comments on commit 81d0d60

Please sign in to comment.