1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

removing unnecessary requires

This commit is contained in:
Aaron Patterson 2012-01-06 14:42:53 -08:00
parent 579acb49df
commit 056b8386d0
5 changed files with 3 additions and 8 deletions

View file

@ -1,5 +1,4 @@
require 'abstract_unit'
require 'test/unit'
class GrandParent
include ActiveSupport::Callbacks

View file

@ -1,5 +1,4 @@
require 'abstract_unit'
require 'test/unit'
module CallbacksTest
class Phone

View file

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

View file

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

View file

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