1
0
Fork 0
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:
Xavier Noria 2015-11-10 07:21:33 -08:00
parent 8793f77c4a
commit b7c8ce5bc2
3 changed files with 5 additions and 5 deletions

View file

@ -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

View file

@ -1,6 +1,6 @@
require 'fileutils'
module FileUpdateCheckerWithEnumerableTestCases
module FileUpdateCheckerSharedTests
include FileUtils
def tmpdir

View file

@ -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)