diff options
| author | Baptiste Fontaine | 2016-01-08 23:35:58 +0100 |
|---|---|---|
| committer | Baptiste Fontaine | 2016-01-09 10:37:40 +0100 |
| commit | f0d1444980470824b56ba490b9221476440017b6 (patch) | |
| tree | cbe4b0acb9fb5de3fb4c4b94b7b496dbc14d9190 /Library | |
| parent | daf659cbaec9eb1704361a61c7387f6936f78f8b (diff) | |
| download | brew-f0d1444980470824b56ba490b9221476440017b6.tar.bz2 | |
tests: missing requires added
Closes Homebrew/homebrew#47866.
Closes Homebrew/homebrew#47861.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/test/test_caveats.rb | 2 | ||||
| -rw-r--r-- | Library/Homebrew/test/test_checksum_verification.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/test/test_formula_support.rb | 1 | ||||
| -rw-r--r-- | Library/Homebrew/test/test_formulary.rb | 3 | ||||
| -rw-r--r-- | Library/Homebrew/test/testing_env.rb | 1 |
5 files changed, 8 insertions, 0 deletions
diff --git a/Library/Homebrew/test/test_caveats.rb b/Library/Homebrew/test/test_caveats.rb index c9e242abd..9eaac5792 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 cda35e3aa..4e3602f94 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 25514a032..111b509ec 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 86a59faa3..935acd6c4 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 b13dbb81f..bca841f7f 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 } |
