diff options
author | Shailesh Kalamkar <shailesh.kalamkar@gmail.com> | 2019-03-28 09:41:04 +0530 |
---|---|---|
committer | Shailesh Kalamkar <shailesh.kalamkar@gmail.com> | 2019-03-28 09:41:04 +0530 |
commit | fbb9a3fc0182523446b2b8731436d1348aee4950 (patch) | |
tree | b11cceb510a68018dc20b806261927f21ee173d9 | |
parent | a7723b80f031f3b19c2fc73f054f6e06c3a88141 (diff) | |
download | rails-fbb9a3fc0182523446b2b8731436d1348aee4950.tar.gz rails-fbb9a3fc0182523446b2b8731436d1348aee4950.tar.bz2 rails-fbb9a3fc0182523446b2b8731436d1348aee4950.zip |
[ci skip] Fixed testing guides typo `fourty` -> `forty`
-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 93372b5c26..1fad02812b 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -1404,7 +1404,7 @@ If you find your helpers are cluttering `test_helper.rb`, you can extract them i ```ruby # lib/test/multiple_assertions.rb module MultipleAssertions - def assert_multiple_of_fourty_two(number) + def assert_multiple_of_forty_two(number) assert (number % 42 == 0), 'expected #{number} to be a multiple of 42' end end @@ -1419,8 +1419,8 @@ require 'test/multiple_assertions' class NumberTest < ActiveSupport::TestCase include MultipleAssertions - test '420 is a multiple of fourty two' do - assert_multiple_of_fourty_two 420 + test '420 is a multiple of forty two' do + assert_multiple_of_forty_two 420 end end ``` |