Silence thor output during tests.

This commit is contained in:
Jacob Buys
2011-08-21 22:19:06 +02:00
parent 4f5e77d189
commit 6e4e60fc64
2 changed files with 5 additions and 0 deletions

View File

@@ -20,6 +20,10 @@ RSpec.configure do |config|
@user_dir.destroy!
end
def silence!
homesick.stub(:say_status)
end
def given_castle(name, path=name)
@repos_dir.directory(path) do |castle|
Dir.chdir(castle) do