mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
renames the module with shared tests for file monitors
This commit is contained in:
parent
8793f77c4a
commit
b7c8ce5bc2
3 changed files with 5 additions and 5 deletions
|
@ -1,9 +1,9 @@
|
|||
require 'abstract_unit'
|
||||
require 'pathname'
|
||||
require 'file_update_checker_with_enumerable_test_cases'
|
||||
require 'file_update_checker_shared_tests'
|
||||
|
||||
class FileEventedUpdateCheckerTest < ActiveSupport::TestCase
|
||||
include FileUpdateCheckerWithEnumerableTestCases
|
||||
include FileUpdateCheckerSharedTests
|
||||
|
||||
def new_checker(files=[], dirs={}, &block)
|
||||
ActiveSupport::FileEventedUpdateChecker.new(files, dirs, &block).tap do
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'fileutils'
|
||||
|
||||
module FileUpdateCheckerWithEnumerableTestCases
|
||||
module FileUpdateCheckerSharedTests
|
||||
include FileUtils
|
||||
|
||||
def tmpdir
|
|
@ -1,8 +1,8 @@
|
|||
require 'abstract_unit'
|
||||
require 'file_update_checker_with_enumerable_test_cases'
|
||||
require 'file_update_checker_shared_tests'
|
||||
|
||||
class FileUpdateCheckerTest < ActiveSupport::TestCase
|
||||
include FileUpdateCheckerWithEnumerableTestCases
|
||||
include FileUpdateCheckerSharedTests
|
||||
|
||||
def new_checker(files=[], dirs={}, &block)
|
||||
ActiveSupport::FileUpdateChecker.new(files, dirs, &block)
|
||||
|
|
Loading…
Reference in a new issue