diff --git a/test/helper.rb b/test/helper.rb index 4925282555bbb3b575625c5603bb6ee867558107..17696f5dea497d63bd50263deaea0d67f3640e79 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -71,6 +71,7 @@ class Test::Unit::TestCase assert !haystack.include?(needle) end + # Pretends hub is up to date when running `hub install check` def fake_up_to_date Hub::Commands.class_eval do alias_method :real_latest_md5, :latest_md5