2016-08-03 00:46:43 -04:00
|
|
|
require 'spec_helper'
|
|
|
|
require 'rake'
|
|
|
|
|
|
|
|
RSpec.configure do |config|
|
|
|
|
config.include RakeHelpers
|
|
|
|
|
|
|
|
# Redirect stdout so specs don't have so much noise
|
|
|
|
config.before(:all) do
|
|
|
|
$stdout = StringIO.new
|
|
|
|
|
2016-11-29 13:21:25 -05:00
|
|
|
Rake.application.rake_require 'tasks/gitlab/helpers'
|
2016-08-03 00:46:43 -04:00
|
|
|
Rake::Task.define_task :environment
|
|
|
|
end
|
|
|
|
|
|
|
|
# Reset stdout
|
|
|
|
config.after(:all) do
|
|
|
|
$stdout = STDOUT
|
|
|
|
end
|
|
|
|
end
|