Skip to content

Commit

Permalink
excluding spec from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
klobuczek committed Jun 29, 2017
1 parent ece6613 commit 788454b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# To run coverage via travis
require 'simplecov'
require 'coveralls'
Coveralls.wear!
# require 'simplecov'
# SimpleCov.start

SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
add_filter 'spec'
end

# To run it manually via Rake
if ENV['COVERAGE']
Expand Down

0 comments on commit 788454b

Please sign in to comment.