diff options
Diffstat (limited to 'activesupport/test/file_update_checker_test.rb')
-rw-r--r-- | activesupport/test/file_update_checker_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/activesupport/test/file_update_checker_test.rb b/activesupport/test/file_update_checker_test.rb index 313c818691..9c7198caa3 100644 --- a/activesupport/test/file_update_checker_test.rb +++ b/activesupport/test/file_update_checker_test.rb @@ -1,12 +1,10 @@ require 'abstract_unit' -require 'fileutils' -require 'thread' require 'file_update_checker_with_enumerable_test_cases' class FileUpdateCheckerTest < ActiveSupport::TestCase include FileUpdateCheckerWithEnumerableTestCases - def build_new_watcher(files, dirs={}, &block) + def build_new_watcher(files=[], dirs={}, &block) ActiveSupport::FileUpdateChecker.new(files, dirs, &block) end end |