Move integration_mocks to test/support/helper.
This commit is contained in:
parent
4db1317f38
commit
7b9fd538fa
@ -60,6 +60,7 @@ class IntegrationCommandTestCase < Homebrew::TestCase
|
|||||||
cmd_args = %W[
|
cmd_args = %W[
|
||||||
-W0
|
-W0
|
||||||
-I#{HOMEBREW_LIBRARY_PATH}/test/support/lib
|
-I#{HOMEBREW_LIBRARY_PATH}/test/support/lib
|
||||||
|
-I#{HOMEBREW_LIBRARY_PATH}
|
||||||
-rconfig
|
-rconfig
|
||||||
]
|
]
|
||||||
if ENV["HOMEBREW_TESTS_COVERAGE"]
|
if ENV["HOMEBREW_TESTS_COVERAGE"]
|
||||||
@ -70,7 +71,7 @@ class IntegrationCommandTestCase < Homebrew::TestCase
|
|||||||
cmd_args << "-rbundler/setup"
|
cmd_args << "-rbundler/setup"
|
||||||
cmd_args << "-rsimplecov"
|
cmd_args << "-rsimplecov"
|
||||||
end
|
end
|
||||||
cmd_args << "-rintegration_mocks"
|
cmd_args << "-rtest/support/helper/integration_mocks"
|
||||||
cmd_args << (HOMEBREW_LIBRARY_PATH/"brew.rb").resolved_path.to_s
|
cmd_args << (HOMEBREW_LIBRARY_PATH/"brew.rb").resolved_path.to_s
|
||||||
cmd_args += args
|
cmd_args += args
|
||||||
developer = ENV["HOMEBREW_DEVELOPER"]
|
developer = ENV["HOMEBREW_DEVELOPER"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user