require'spec_helper'require'rake'RSpec.configuredo|config|config.includeRakeHelpers# Redirect stdout so specs don't have so much noiseconfig.before(:all)do$stdout=StringIO.newRake.application.rake_require'tasks/gitlab/task_helpers'Rake::Task.define_task:environmentend# Reset stdoutconfig.after(:all)do$stdout=STDOUTendend