diff options
| author | Robert | 2017-05-03 18:32:34 +0200 | 
|---|---|---|
| committer | Robert | 2017-05-03 18:32:34 +0200 | 
| commit | c9ffe28651d603b90322ac4d49ef50b20b566e1c (patch) | |
| tree | 578bed9e6c609640fa2e229930df48643e6a2feb | |
| parent | fdff8db191dbda598406392ccfdde251318d7140 (diff) | |
| download | chouette-core-c9ffe28651d603b90322ac4d49ef50b20b566e1c.tar.bz2 | |
Jenkins Simplecov/rcov code enabled again
| -rw-r--r-- | spec/spec_helper.rb | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index dda1f7ed9..c99cede55 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,12 +1,12 @@  # This file is copied to spec/ when you run 'rails generate rspec:install'  require 'simplecov' -# if ENV['JOB_NAME'] -#   require 'simplecov-rcov' -#   SimpleCov.formatters = [ -#     SimpleCov::Formatter::HTMLFormatter, -#     SimpleCov::Formatter::RcovFormatter -#   ] -# end +if ENV['JOB_NAME'] +  require 'simplecov-rcov' +  SimpleCov.formatters = [ +    SimpleCov::Formatter::HTMLFormatter, +    SimpleCov::Formatter::RcovFormatter +  ] +end  SimpleCov.start 'rails' do    add_filter 'vendor'  end | 
