diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2019-03-28 17:34:10 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-28 17:34:10 +0900 |
commit | 19dbf44070b2b36d1cefba10d120e8b18c2599ab (patch) | |
tree | b11cceb510a68018dc20b806261927f21ee173d9 /guides | |
parent | a7723b80f031f3b19c2fc73f054f6e06c3a88141 (diff) | |
parent | fbb9a3fc0182523446b2b8731436d1348aee4950 (diff) | |
download | rails-19dbf44070b2b36d1cefba10d120e8b18c2599ab.tar.gz rails-19dbf44070b2b36d1cefba10d120e8b18c2599ab.tar.bz2 rails-19dbf44070b2b36d1cefba10d120e8b18c2599ab.zip |
Merge pull request #35778 from shailesh-kalamkar/fix-typo-testing-guides
[ci skip] Fixed testing guides typo `fourty` -> `forty`
Diffstat (limited to 'guides')
-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 ``` |