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 76da141 commit 81d0d60Copy full SHA for 81d0d60
features/controller_specs/cookies.feature
@@ -1,10 +1,10 @@
1
Feature: Cookies
2
3
- There is different ways to test cookies in controller's tests be we recommend
4
- 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.
5
6
- You can use strings or symbols to fetch or set your cookies because `cookies`
7
- support indifferent access.
+ You can use strings or symbols to fetch or set your cookies because the `cookies`
+ method supports indifferent access.
8
9
Scenario: Testing cookie's value cleared in controller
10
Given a file named "spec/controllers/application_controller_spec.rb" with:
0 commit comments