debian-mirror-gitlab/spec/generator_helper.rb

16 lines
267 B
Ruby
Raw Normal View History

2021-04-17 20:07:23 +05:30
# frozen_string_literal: true
require 'spec_helper'
RSpec.configure do |config|
# Redirect stdout so specs don't have so much noise
config.before(:all) do
$stdout = StringIO.new
end
# Reset stdout
config.after(:all) do
$stdout = STDOUT
end
end