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:
parent
579acb49df
commit
056b8386d0
5 changed files with 3 additions and 8 deletions
|
@ -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 @@ class DescendantsTrackerWithAutoloadingTest < ActiveSupport::TestCase
|
|||
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 @@ class FileUpdateCheckerWithEnumerableTest < ActiveSupport::TestCase
|
|||
assert !checker.execute_if_updated
|
||||
assert_equal 0, i
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue