diff options
author | Gaurish Sharma <contact@gaurishsharma.com> | 2015-11-09 18:07:10 +0530 |
---|---|---|
committer | Gaurish Sharma <contact@gaurishsharma.com> | 2015-11-09 18:07:10 +0530 |
commit | 41b469d0995dd482f3fd4dfbae80770df0479883 (patch) | |
tree | 0c96225d0b992720eeadcd44ae002ce0ef52ab89 /guides | |
parent | b217354dbbbbb49a020b0073ebb62c5cd2d96140 (diff) | |
download | rails-41b469d0995dd482f3fd4dfbae80770df0479883.tar.gz rails-41b469d0995dd482f3fd4dfbae80770df0479883.tar.bz2 rails-41b469d0995dd482f3fd4dfbae80770df0479883.zip |
:nailcare: Grammer fixes
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index a07772036b..89ae3f83e3 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -155,7 +155,7 @@ Failed assertion, no message given. 1 tests, 1 assertions, 1 failures, 0 errors, 0 skips ``` -In the output, `F` denotes a failure. You can see the corresponding trace shown under `1)` along with the name of the failing test. The next few lines contain the stack trace followed by a message which mentions the actual value and the expected value by the assertion. The default assertion messages provide just enough information to help pinpoint the error. To make the assertion failure message more readable, every assertion provides an optional message parameter, as shown here: +In the output, `F` denotes a failure. You can see the corresponding trace shown under `1)` along with the name of the failing test. The next few lines contain the stack trace followed by a message that mentions the actual value and the expected value by the assertion. The default assertion messages provide just enough information to help pinpoint the error. To make the assertion failure message more readable, every assertion provides an optional message parameter, as shown here: ```ruby test "should not save article without title" do @@ -523,7 +523,7 @@ Model tests don't have their own superclass like `ActionMailer::TestCase` instea Integration Testing ------------------- -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. +Integration tests are used to test how various parts of your application interact. They are generally used to test important workflows within your application. 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. |