mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 10:24:39 +08:00
Suppres task spec output using capture_stdout
This commit is contained in:
@ -138,10 +138,6 @@ module Helpers
|
||||
$stdout = old_stdout
|
||||
end
|
||||
|
||||
def disable_puts_stdout
|
||||
IO.any_instance.stubs(:puts)
|
||||
end
|
||||
|
||||
def set_subfolder(f)
|
||||
global_setting :relative_url_root, f
|
||||
old_root = ActionController::Base.config.relative_url_root
|
||||
|
Reference in New Issue
Block a user