Skip to content

Commit

Permalink
Added Filter for simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiren Patel committed Jul 31, 2013
1 parent 9c4b070 commit 852422c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
source 'https://rubygems.org'

gem 'simplecov', require: false
gem 'coveralls', require: false
# Specify your gem's dependencies in rnotifier.gemspec
gemspec
7 changes: 7 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
require 'rack/request'
require 'rack/mock'
require 'rack/test'
require 'simplecov'

SimpleCov.start do
add_filter '/spec/'
add_group 'gem', 'lib'
end

require 'coveralls'

$:.unshift(File.dirname(__FILE__) + '/../lib/')
Expand Down

0 comments on commit 852422c

Please sign in to comment.