From 7b9fd538fabf450203c0120f996403e24bd02071 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 7 Nov 2016 00:01:57 +0100 Subject: [PATCH] Move `integration_mocks` to `test/support/helper`. --- .../test/support/helper/integration_command_test_case.rb | 3 ++- .../Homebrew/test/support/{lib => helper}/integration_mocks.rb | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename Library/Homebrew/test/support/{lib => helper}/integration_mocks.rb (100%) 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 d7ae674234..9306617eb8 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 similarity index 100% rename from Library/Homebrew/test/support/lib/integration_mocks.rb rename to Library/Homebrew/test/support/helper/integration_mocks.rb