From 056b8386d06de5b6a864562f3f0b88ba4b4424a8 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Fri, 6 Jan 2012 14:42:53 -0800 Subject: removing unnecessary requires --- activesupport/test/callback_inheritance_test.rb | 1 - activesupport/test/callbacks_test.rb | 1 - activesupport/test/descendants_tracker_with_autoloading_test.rb | 3 +-- activesupport/test/descendants_tracker_without_autoloading_test.rb | 3 +-- activesupport/test/file_update_checker_test.rb | 3 +-- 5 files changed, 3 insertions(+), 8 deletions(-) (limited to 'activesupport') 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 -- cgit v1.2.3