Skip to content

Commit

Permalink
FIX remove :all options for specs silent CLI config
Browse files Browse the repository at this point in the history
  • Loading branch information
makaroni4 committed May 12, 2015
1 parent 18ebbca commit c1977c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/test_helper.rb
Expand Up @@ -7,13 +7,13 @@
original_stderr = $stderr
original_stdout = $stdout

config.before(:all, silent_cli: true) do
config.before silent_cli: true do
# Redirect stderr and stdout
$stderr = File.open(File::NULL, "w")
$stdout = File.open(File::NULL, "w")
end

config.after(:all, silent_cli: true) do
config.after silent_cli: true do
$stderr = original_stderr
$stdout = original_stdout
end
Expand Down

0 comments on commit c1977c3

Please sign in to comment.