Skip to content

Commit 6f2fe22

Browse files
authored
Merge pull request #577 from aaron-contreras/add-missing-doc-for-feature-tests
Add missing docs for testing
2 parents 2e436e3 + 8de9d83 commit 6f2fe22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/testing/capybara-and-rspec.md

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ In this guide we assume that you know the basics of Rspec and Capybara and have
1111
* [https://github.com/rspec/rspec-rails](https://github.com/rspec/rspec-rails)
1212
* [https://github.com/teamcapybara/capybara](https://github.com/teamcapybara/capybara)
1313

14+
**Note**: Make sure you set `config.action_controller.allow_forgery_protection = true` in your `config/environments/test.rb' file.
15+
1416
Additionally you need a Chrome browser installed on your system.
1517

1618
We recommend to configure Capybara in a separate file and require it in your `rails_helper.rb`

0 commit comments

Comments
 (0)