Permalink
Browse files

removing unnecessary requires

  • Loading branch information...
1 parent 579acb4 commit 056b8386d06de5b6a864562f3f0b88ba4b4424a8 @tenderlove tenderlove committed Jan 6, 2012
@@ -1,5 +1,4 @@
require 'abstract_unit'
-require 'test/unit'
class GrandParent
include ActiveSupport::Callbacks
@@ -1,5 +1,4 @@
require 'abstract_unit'
-require 'test/unit'
module CallbacksTest
class Phone
@@ -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 @@ def test_clear_with_autoloaded_granchildren
assert_equal [], Child2.descendants
end
end
-end
+end
@@ -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
+end
@@ -1,5 +1,4 @@
require 'abstract_unit'
-require 'test/unit'
require 'fileutils'
MTIME_FIXTURES_PATH = File.expand_path("../fixtures", __FILE__)
@@ -80,4 +79,4 @@ def test_should_not_invoke_the_block_if_a_watched_dir_changed_its_glob
assert !checker.execute_if_updated
assert_equal 0, i
end
-end
+end

0 comments on commit 056b838

Please sign in to comment.