summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2015-01-15 12:22:37 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2015-01-15 12:22:37 +0100
commitccbb5a17f41df7a6deffd37c0e9f85d5330ad361 (patch)
treeaf5b4a92eb20f25fa47d1ae1be99bbff504099a6
parentd4cc45dae40245cffe7a47edcec81090cd4c67b5 (diff)
downloadgitlab-ci-ccbb5a17f41df7a6deffd37c0e9f85d5330ad361.tar.gz
Disable coverage reporting to fix exit status
With coverage reporting enabled, `rspec` always exits with status 0 even if the build failed. This commit should fix that exit status, effectively breaking the build. :)
-rw-r--r--spec/spec_helper.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 88abbdb..d6f82e8 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,11 +1,3 @@
-if ENV['COVERALLS']
- require 'coveralls'
- Coveralls.wear!
-else
- require 'simplecov'
- SimpleCov.start
-end
-
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)