diff options
author | Xavier Noria <fxn@hashref.com> | 2015-11-09 09:39:07 -0800 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2015-11-09 09:39:07 -0800 |
commit | 3cd4775211bba820cdb5803ef0200040a2254f84 (patch) | |
tree | d43add6bf488a9f1e437f760042174fe0bcaa530 /activesupport/test | |
parent | a22d431d4236b9bdb3f27d7e25118fe36aa08243 (diff) | |
download | rails-3cd4775211bba820cdb5803ef0200040a2254f84.tar.gz rails-3cd4775211bba820cdb5803ef0200040a2254f84.tar.bz2 rails-3cd4775211bba820cdb5803ef0200040a2254f84.zip |
editorial pass over test method names
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/file_update_checker_with_enumerable_test_cases.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/activesupport/test/file_update_checker_with_enumerable_test_cases.rb b/activesupport/test/file_update_checker_with_enumerable_test_cases.rb index 4885a14f81..0aa1aaa727 100644 --- a/activesupport/test/file_update_checker_with_enumerable_test_cases.rb +++ b/activesupport/test/file_update_checker_with_enumerable_test_cases.rb @@ -23,7 +23,7 @@ module FileUpdateCheckerWithEnumerableTestCases assert_equal 0, i end - def test_should_not_invoke_the_block_if_no_file_has_changed + def test_should_not_execute_the_block_if_no_files_change i = 0 checker = new_checker(@files) { i += 1 } @@ -32,7 +32,7 @@ module FileUpdateCheckerWithEnumerableTestCases assert_equal 0, i end - def test_should_invoke_the_block_if_a_file_has_changed + def test_should_execute_the_block_once_when_files_change i = 0 checker = new_checker(@files) { i += 1 } @@ -54,7 +54,7 @@ module FileUpdateCheckerWithEnumerableTestCases assert checker.updated? end - def test_should_detect_deleted_files + def test_should_execute_the_block_once_when_files_are_deleted i = 0 checker = new_checker(@files) { i += 1 } @@ -93,7 +93,7 @@ module FileUpdateCheckerWithEnumerableTestCases assert !checker.updated? end - def test_should_invoke_the_block_if_a_watched_dir_changes + def test_should_execute_the_block_if_files_change_in_a_watched_directory i = 0 checker = new_checker([], @tmpdir => :rb) { i += 1 } @@ -104,7 +104,7 @@ module FileUpdateCheckerWithEnumerableTestCases assert_equal 1, i end - def test_should_not_invoke_the_block_if_a_watched_dir_does_not_change + def test_should_not_execute_the_block_if_the_file_extension_is_not_watched i = 0 checker = new_checker([], @tmpdir => :txt) { i += 1 } |