aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2015-11-10 07:21:33 -0800
committerXavier Noria <fxn@hashref.com>2015-11-10 22:19:35 +0100
commitb7c8ce5bc2dbe12f1c21ebd8fd55953d891e98e3 (patch)
tree493340ad479d82aedd4abd9e72fa3229dc18e05b
parent8793f77c4a96197bb0f5e29b00828bf5903fcad7 (diff)
downloadrails-b7c8ce5bc2dbe12f1c21ebd8fd55953d891e98e3.tar.gz
rails-b7c8ce5bc2dbe12f1c21ebd8fd55953d891e98e3.tar.bz2
rails-b7c8ce5bc2dbe12f1c21ebd8fd55953d891e98e3.zip
renames the module with shared tests for file monitors
-rw-r--r--activesupport/test/file_evented_update_checker_test.rb4
-rw-r--r--activesupport/test/file_update_checker_shared_tests.rb (renamed from activesupport/test/file_update_checker_with_enumerable_test_cases.rb)2
-rw-r--r--activesupport/test/file_update_checker_test.rb4
3 files changed, 5 insertions, 5 deletions
diff --git a/activesupport/test/file_evented_update_checker_test.rb b/activesupport/test/file_evented_update_checker_test.rb
index 5aba9a3e0b..f98b656d10 100644
--- a/activesupport/test/file_evented_update_checker_test.rb
+++ b/activesupport/test/file_evented_update_checker_test.rb
@@ -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
diff --git a/activesupport/test/file_update_checker_with_enumerable_test_cases.rb b/activesupport/test/file_update_checker_shared_tests.rb
index 23d8ffa5de..caa4d6191d 100644
--- a/activesupport/test/file_update_checker_with_enumerable_test_cases.rb
+++ b/activesupport/test/file_update_checker_shared_tests.rb
@@ -1,6 +1,6 @@
require 'fileutils'
-module FileUpdateCheckerWithEnumerableTestCases
+module FileUpdateCheckerSharedTests
include FileUtils
def tmpdir
diff --git a/activesupport/test/file_update_checker_test.rb b/activesupport/test/file_update_checker_test.rb
index e3233e5721..bf376f75bc 100644
--- a/activesupport/test/file_update_checker_test.rb
+++ b/activesupport/test/file_update_checker_test.rb
@@ -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)