Silence thor output during tests.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user