Skip to content

Commit

Permalink
Exclude the spec/ directory from coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Oct 29, 2014
1 parent 6aba326 commit b7341f9
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
require "bundler/setup"

if ENV["COVERAGE"]
require 'simplecov'
require 'coveralls'
Coveralls.wear!

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

require 'active-fedora'
Expand Down

0 comments on commit b7341f9

Please sign in to comment.