diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-06 14:42:53 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-01-06 14:43:04 -0800 |
commit | 056b8386d06de5b6a864562f3f0b88ba4b4424a8 (patch) | |
tree | d42235cbb64d0d1ae6f65f648ce1c611639f86de /activesupport/test | |
parent | 579acb49df81c1fadfed15a93236388700744264 (diff) | |
download | rails-056b8386d06de5b6a864562f3f0b88ba4b4424a8.tar.gz rails-056b8386d06de5b6a864562f3f0b88ba4b4424a8.tar.bz2 rails-056b8386d06de5b6a864562f3f0b88ba4b4424a8.zip |
removing unnecessary requires
Diffstat (limited to 'activesupport/test')
5 files changed, 3 insertions, 8 deletions
diff --git a/activesupport/test/callback_inheritance_test.rb b/activesupport/test/callback_inheritance_test.rb index 177fa3de94..b5ad34c204 100644 --- a/activesupport/test/callback_inheritance_test.rb +++ b/activesupport/test/callback_inheritance_test.rb @@ -1,5 +1,4 @@ require 'abstract_unit' -require 'test/unit' class GrandParent include ActiveSupport::Callbacks diff --git a/activesupport/test/callbacks_test.rb b/activesupport/test/callbacks_test.rb index 2085d99dfd..2c2a420619 100644 --- a/activesupport/test/callbacks_test.rb +++ b/activesupport/test/callbacks_test.rb @@ -1,5 +1,4 @@ require 'abstract_unit' -require 'test/unit' module CallbacksTest class Phone diff --git a/activesupport/test/descendants_tracker_with_autoloading_test.rb b/activesupport/test/descendants_tracker_with_autoloading_test.rb index f1f6d79e4d..9180f1f977 100644 --- a/activesupport/test/descendants_tracker_with_autoloading_test.rb +++ b/activesupport/test/descendants_tracker_with_autoloading_test.rb @@ -1,5 +1,4 @@ require 'abstract_unit' -require 'test/unit' require 'active_support/descendants_tracker' require 'active_support/dependencies' require 'descendants_tracker_test_cases' @@ -32,4 +31,4 @@ class DescendantsTrackerWithAutoloadingTest < ActiveSupport::TestCase assert_equal [], Child2.descendants end end -end
\ No newline at end of file +end diff --git a/activesupport/test/descendants_tracker_without_autoloading_test.rb b/activesupport/test/descendants_tracker_without_autoloading_test.rb index 4958fb6866..74669aaca1 100644 --- a/activesupport/test/descendants_tracker_without_autoloading_test.rb +++ b/activesupport/test/descendants_tracker_without_autoloading_test.rb @@ -1,8 +1,7 @@ require 'abstract_unit' -require 'test/unit' require 'active_support/descendants_tracker' require 'descendants_tracker_test_cases' class DescendantsTrackerWithoutAutoloadingTest < ActiveSupport::TestCase include DescendantsTrackerTestCases -end
\ No newline at end of file +end diff --git a/activesupport/test/file_update_checker_test.rb b/activesupport/test/file_update_checker_test.rb index c247e60fbb..dd2483287b 100644 --- a/activesupport/test/file_update_checker_test.rb +++ b/activesupport/test/file_update_checker_test.rb @@ -1,5 +1,4 @@ require 'abstract_unit' -require 'test/unit' require 'fileutils' MTIME_FIXTURES_PATH = File.expand_path("../fixtures", __FILE__) @@ -80,4 +79,4 @@ class FileUpdateCheckerWithEnumerableTest < ActiveSupport::TestCase assert !checker.execute_if_updated assert_equal 0, i end -end
\ No newline at end of file +end |