diff options
| author | Robert | 2017-05-03 16:23:23 +0200 |
|---|---|---|
| committer | jpl | 2017-05-04 10:11:35 +0200 |
| commit | f3cca21fd882f554027f35770e4bfba0fc342b93 (patch) | |
| tree | 1f783acb9eddbd5bafaaeea84efb51519b1eed06 | |
| parent | 77fa376138b27428a657204b11219e91c21cc24a (diff) | |
| download | chouette-core-f3cca21fd882f554027f35770e4bfba0fc342b93.tar.bz2 | |
filter vendor in Simplecov
| -rw-r--r-- | spec/spec_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 891235b81..dda1f7ed9 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,7 +7,9 @@ require 'simplecov' # SimpleCov::Formatter::RcovFormatter # ] # end -SimpleCov.start 'rails' +SimpleCov.start 'rails' do + add_filter 'vendor' +end ENV["RAILS_ENV"] = 'test' require File.expand_path("../../config/environment", __FILE__) |
