diff --git a/Library/Homebrew/test/test_caveats.rb b/Library/Homebrew/test/test_caveats.rb index c9e242abdd..9eaac57927 100644 --- a/Library/Homebrew/test/test_caveats.rb +++ b/Library/Homebrew/test/test_caveats.rb @@ -1,4 +1,6 @@ require "testing_env" +require "formula" +require "caveats" class CaveatsTests < Homebrew::TestCase def setup diff --git a/Library/Homebrew/test/test_checksum_verification.rb b/Library/Homebrew/test/test_checksum_verification.rb index cda35e3aa2..4e3602f94f 100644 --- a/Library/Homebrew/test/test_checksum_verification.rb +++ b/Library/Homebrew/test/test_checksum_verification.rb @@ -1,4 +1,5 @@ require "testing_env" +require "formula" class ChecksumVerificationTests < Homebrew::TestCase def assert_checksum_good diff --git a/Library/Homebrew/test/test_formula_support.rb b/Library/Homebrew/test/test_formula_support.rb index 25514a032e..111b509ec2 100644 --- a/Library/Homebrew/test/test_formula_support.rb +++ b/Library/Homebrew/test/test_formula_support.rb @@ -1,4 +1,5 @@ require "testing_env" +require "formula_support" class KegOnlyReasonTests < Homebrew::TestCase def test_to_s_explanation diff --git a/Library/Homebrew/test/test_formulary.rb b/Library/Homebrew/test/test_formulary.rb index 86a59faa31..935acd6c40 100644 --- a/Library/Homebrew/test/test_formulary.rb +++ b/Library/Homebrew/test/test_formulary.rb @@ -1,4 +1,7 @@ require "testing_env" +require "formula" +require "formula_installer" +require "bottles" class FormularyTest < Homebrew::TestCase def test_class_naming diff --git a/Library/Homebrew/test/testing_env.rb b/Library/Homebrew/test/testing_env.rb index b13dbb81fc..bca841f7f3 100644 --- a/Library/Homebrew/test/testing_env.rb +++ b/Library/Homebrew/test/testing_env.rb @@ -3,6 +3,7 @@ $:.unshift File.expand_path("../lib", __FILE__) require "simplecov" if ENV["HOMEBREW_TESTS_COVERAGE"] require "global" +require "formulary" # Test environment setup %w[ENV Formula].each { |d| HOMEBREW_LIBRARY.join(d).mkpath }