diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-11-27 03:56:12 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-11-27 03:56:12 +0900 |
commit | 93c74e1b4d70dd1fab0c48da92c2dc05cc9338f4 (patch) | |
tree | 5424a3c9a1ba94718104bcd74003b14f3a79a983 /actionview/test | |
parent | 499b602c8eb032cb2bbae1cfa01cecdb549ea583 (diff) | |
download | rails-93c74e1b4d70dd1fab0c48da92c2dc05cc9338f4.tar.gz rails-93c74e1b4d70dd1fab0c48da92c2dc05cc9338f4.tar.bz2 rails-93c74e1b4d70dd1fab0c48da92c2dc05cc9338f4.zip |
More typo fixes
Diffstat (limited to 'actionview/test')
-rw-r--r-- | actionview/test/actionpack/abstract/layouts_test.rb | 2 | ||||
-rw-r--r-- | actionview/test/template/text_helper_test.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/actionpack/abstract/layouts_test.rb b/actionview/test/actionpack/abstract/layouts_test.rb index 8a96d434e2..a6786d9b6b 100644 --- a/actionview/test/actionpack/abstract/layouts_test.rb +++ b/actionview/test/actionpack/abstract/layouts_test.rb @@ -264,7 +264,7 @@ module AbstractControllerTests assert_equal "Overwrite Hello proc!", controller.response_body end - test "when layout is specified as a proc and the proc retuns nil, don't use a layout" do + test "when layout is specified as a proc and the proc returns nil, don't use a layout" do controller = WithProcReturningNil.new controller.process(:index) assert_equal "Hello nil!", controller.response_body diff --git a/actionview/test/template/text_helper_test.rb b/actionview/test/template/text_helper_test.rb index c624326683..dd1a92acfb 100644 --- a/actionview/test/template/text_helper_test.rb +++ b/actionview/test/template/text_helper_test.rb @@ -455,7 +455,7 @@ class TextHelperTest < ActionView::TestCase reset_cycle("colors") end - def test_recet_named_cycle + def test_reset_named_cycle assert_equal("1", cycle(1, 2, 3, :name => "numbers")) assert_equal("red", cycle("red", "blue", :name => "colors")) reset_cycle("numbers") |