From e41b21a59da7983925d333a5eea8952feae23ebf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20A=CC=8Ahman?= Date: Fri, 17 Jun 2016 17:07:27 +0200 Subject: [PATCH] Add simplecov --- .simplecov | 5 +++++ postnord.gemspec | 1 + spec/spec_helper.rb | 1 + 3 files changed, 7 insertions(+) create mode 100644 .simplecov diff --git a/.simplecov b/.simplecov new file mode 100644 index 0000000..b731581 --- /dev/null +++ b/.simplecov @@ -0,0 +1,5 @@ +SimpleCov.start do + add_group 'business_location', 'postnord/business_location' + add_group 'shipment', 'postnord/shipment' + add_group 'transport', 'postnord/transport' +end diff --git a/postnord.gemspec b/postnord.gemspec index 4ba0553..8b9f025 100644 --- a/postnord.gemspec +++ b/postnord.gemspec @@ -21,4 +21,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "bundler", "~> 1.12" spec.add_development_dependency "rake", "~> 10.0" spec.add_development_dependency "rspec", "~> 3.0" + spec.add_development_dependency "simplecov" end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index cfebcc0..427f206 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,2 +1,3 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) require 'postnord' +require 'simplecov'