aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-12-22 03:29:34 -0800
committerZachary Scott <e@zzak.io>2014-12-22 03:29:34 -0800
commit334f620858fd73cabd6493804076b7b369edb6ab (patch)
tree5bef2560d9b3393c4678fdc748797a95e4d9062c
parent0cf3f9adf5b1a650e7916cae75e19c1a2efe6fa2 (diff)
downloadrails-334f620858fd73cabd6493804076b7b369edb6ab.tar.gz
rails-334f620858fd73cabd6493804076b7b369edb6ab.tar.bz2
rails-334f620858fd73cabd6493804076b7b369edb6ab.zip
Better explain number of assertions per test [ci skip]
-rw-r--r--guides/source/testing.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md
index 7ed102196f..32140be704 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -219,7 +219,7 @@ An assertion is a line of code that evaluates an object (or expression) for expe
* does this line of code throw an exception?
* is the user's password greater than 5 characters?
-Every test contains one or more assertions. Only when all the assertions are successful will the test pass.
+Every test must contain at least one assertion, with no restriction as to how many assertions are allowed. Only when all the assertions are successful will the test pass.
### Maintaining the test database schema