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 efdac13 commit 1026c5eCopy full SHA for 1026c5e
README.md
@@ -123,6 +123,8 @@ Change the below setting in test.rb
123
124
```ruby
125
config.enable_reloading = ENV['CYPRESS'].present?
126
+...
127
+config.action_controller.allow_forgery_protection = ENV["CYPRESS"].present?
128
```
129
130
### WARNING
@@ -133,6 +135,7 @@ Please use with extra caution if starting your local server on 0.0.0.0 or runnin
133
135
134
136
Getting started on your local environment
137
138
+Also anywhere in configuartion, if port `3000` exists, simply add ENV['CYPRESS'].present? ? `5017` : `3000`
139
```shell
140
# start rails with test environment
141
CYPRESS=1 RAILS_ENV=test bin/rails server -p 5017
0 commit comments