Skip to content

Commit 504846e

Browse files
committed
added simplecov
1 parent 4731b99 commit 504846e

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ source :rubygems
22
gemspec
33

44
gem "httpclient", "~> 2.3.0"
5+
gem "simplecov", :require => false, :group => :test

spec/spec_helper.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
require "bundler"
22
Bundler.setup(:default, :development)
33

4+
if ENV["COVERAGE"]
5+
require "simplecov"
6+
SimpleCov.start do
7+
add_filter "/spec/"
8+
end
9+
end
10+
411
require "savon"
512
require "rspec"
613

0 commit comments

Comments
 (0)