Add inspect to mock updater so test failures are readable

This commit is contained in:
Jack Nagel 2014-07-03 12:57:13 -05:00
parent ef9f6ec4af
commit 191e017d56

View File

@ -30,6 +30,10 @@ class UpdaterTests < Homebrew::TestCase
def expectations_met? def expectations_met?
@expected == @called @expected == @called
end end
def inspect
"#<#{self.class.name}>"
end
end end
def fixture(name) def fixture(name)