Skip to content

Commit

Permalink
Merge pull request #30 from curationexperts/coverage_config
Browse files Browse the repository at this point in the history
Make it configurable whether to run coverage
  • Loading branch information
little9 committed Apr 13, 2018
2 parents 2e7d88c + 8c6feeb commit 6a7921c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
require 'coveralls'
Coveralls.wear!('rails')
if ENV['COVERAGE'] || ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!('rails')
end
require 'rails_helper'

RSpec.configure do |config|
Expand Down

0 comments on commit 6a7921c

Please sign in to comment.