aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorRobert2017-05-03 16:23:23 +0200
committerjpl2017-05-04 10:11:35 +0200
commitf3cca21fd882f554027f35770e4bfba0fc342b93 (patch)
tree1f783acb9eddbd5bafaaeea84efb51519b1eed06 /spec
parent77fa376138b27428a657204b11219e91c21cc24a (diff)
downloadchouette-core-f3cca21fd882f554027f35770e4bfba0fc342b93.tar.bz2
filter vendor in Simplecov
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb4
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__)