We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74f3f19 commit 3fa8f36Copy full SHA for 3fa8f36
railties/lib/rails/test_unit/testing.rake
@@ -61,6 +61,7 @@ end
61
62
# Recreated here from Active Support because :uncommitted needs it before Rails is available
63
module Kernel
64
+ remove_method :silence_stderr # Removing old method to prevent method redefined warning
65
def silence_stderr
66
old_stderr = STDERR.dup
67
STDERR.reopen(RbConfig::CONFIG['host_os'] =~ /mswin|mingw/ ? 'NUL:' : '/dev/null')
0 commit comments