aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorJack Nagel2014-06-23 18:41:50 -0500
committerJack Nagel2014-06-23 18:41:50 -0500
commit8d12684efe43e20b62d4f20836c673051107246e (patch)
tree59c3a8644086423249678b56a79d68eed386c8af /Library/Homebrew/test
parent61e633426a6a53b1a2821af79b2d21a04d9bcb2e (diff)
downloadbrew-8d12684efe43e20b62d4f20836c673051107246e.tar.bz2
Pass repository path into the updater
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/test_updater.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/test_updater.rb b/Library/Homebrew/test/test_updater.rb
index db08a79fa..81e60822a 100644
--- a/Library/Homebrew/test/test_updater.rb
+++ b/Library/Homebrew/test/test_updater.rb
@@ -4,7 +4,7 @@ require 'yaml'
class UpdaterTests < Homebrew::TestCase
class UpdaterMock < ::Updater
- def initialize(*args)
+ def initialize(*)
super
@outputs = Hash.new { |h, k| h[k] = [] }
@expected = []
@@ -42,7 +42,7 @@ class UpdaterTests < Homebrew::TestCase
end
def setup
- @updater = UpdaterMock.new
+ @updater = UpdaterMock.new(HOMEBREW_REPOSITORY)
@report = Report.new
end