spec/spec_helper.rb in howitzer-2.0.0 vs spec/spec_helper.rb in howitzer-2.0.1
- old
+ new
@@ -67,13 +67,7 @@
Dir[File.join(__dir__, 'support', '**', '*.rb')].each { |f| require f }
RSpec.configure do |config|
config.include Howitzer::GeneratorHelper
config.disable_monkey_patching = true
- config.around(:each) do |ex|
- $stdout = StringIO.new
- $stderr = StringIO.new
- ex.run
- $stdout = STDOUT
- $stderr = STDERR
- end
+ config.around(:each, &:run)
end