diff options
author | Zachary Scott <e@zzak.io> | 2014-12-29 17:18:18 -0800 |
---|---|---|
committer | Zachary Scott <e@zzak.io> | 2014-12-29 17:29:47 -0800 |
commit | 152ac966aebd62cad03a7693a51e3c558dac333b (patch) | |
tree | df927fc3802d96ab2b271f28a0908087ba86bc2a | |
parent | c85fed05c531d4d148333613e03ceb0ada061be0 (diff) | |
download | rails-152ac966aebd62cad03a7693a51e3c558dac333b.tar.gz rails-152ac966aebd62cad03a7693a51e3c558dac333b.tar.bz2 rails-152ac966aebd62cad03a7693a51e3c558dac333b.zip |
Grammar pass through Integration Testing section [ci skip]
-rw-r--r-- | guides/source/testing.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 4f5e3d18ec..506f84b9e9 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -752,9 +752,9 @@ end Integration Testing ------------------- -Integration tests are used to test the interaction among any number of controllers. They are generally used to test important work flows within your application. +Integration tests are used to test how various parts of your application interact. They are generally used to test important work flows within your application. -Unlike Unit and Functional tests, integration tests have to be explicitly created under the 'test/integration' directory within your application. Rails provides a generator to create an integration test skeleton for you. +For creating Rails integration tests, we use the 'test/integration' directory for your application. Rails provides a generator to create an integration test skeleton for you. ```bash $ bin/rails generate integration_test user_flows @@ -774,7 +774,7 @@ class UserFlowsTest < ActionDispatch::IntegrationTest end ``` -Integration tests inherit from `ActionDispatch::IntegrationTest`. This makes available some additional helpers to use in your integration tests. Also you need to explicitly include the fixtures to be made available to the test. +Inheriting from `ActionDispatch::IntegrationTest` comes with some advantages. This makes available some additional helpers to use in your integration tests. ### Helpers Available for Integration Tests |