aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2016-11-07 00:01:57 +0100
committerMarkus Reiter2016-11-16 23:52:38 +0100
commit7b9fd538fabf450203c0120f996403e24bd02071 (patch)
treea438af18e2166df0cc88b1c2e0fa33d66a6d1842 /Library
parent4db1317f38f5a55574854e7bf1dfe4379e807b4f (diff)
downloadbrew-7b9fd538fabf450203c0120f996403e24bd02071.tar.bz2
Move `integration_mocks` to `test/support/helper`.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/support/helper/integration_command_test_case.rb3
-rw-r--r--Library/Homebrew/test/support/helper/integration_mocks.rb (renamed from Library/Homebrew/test/support/lib/integration_mocks.rb)0
2 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/test/support/helper/integration_command_test_case.rb b/Library/Homebrew/test/support/helper/integration_command_test_case.rb
index d7ae67423..9306617eb 100644
--- a/Library/Homebrew/test/support/helper/integration_command_test_case.rb
+++ b/Library/Homebrew/test/support/helper/integration_command_test_case.rb
@@ -60,6 +60,7 @@ class IntegrationCommandTestCase < Homebrew::TestCase
cmd_args = %W[
-W0
-I#{HOMEBREW_LIBRARY_PATH}/test/support/lib
+ -I#{HOMEBREW_LIBRARY_PATH}
-rconfig
]
if ENV["HOMEBREW_TESTS_COVERAGE"]
@@ -70,7 +71,7 @@ class IntegrationCommandTestCase < Homebrew::TestCase
cmd_args << "-rbundler/setup"
cmd_args << "-rsimplecov"
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 += args
developer = ENV["HOMEBREW_DEVELOPER"]
diff --git a/Library/Homebrew/test/support/lib/integration_mocks.rb b/Library/Homebrew/test/support/helper/integration_mocks.rb
index 6effb0cde..6effb0cde 100644
--- a/Library/Homebrew/test/support/lib/integration_mocks.rb
+++ b/Library/Homebrew/test/support/helper/integration_mocks.rb