Skip to content

Commit

Permalink
Make it easy to get local coverage reports
Browse files Browse the repository at this point in the history
  • Loading branch information
zz9pzza committed Oct 25, 2016
1 parent fb4e41a commit d5070e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions features/support/env.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# This file has been edited by hand :(
require 'simplecov'
require 'coveralls'
SimpleCov.command_name "features-" + (ENV['TEST_RUN'] || '')
Coveralls.wear_merged!('rails')
SimpleCov.command_name "features-" + (ENV['TEST_RUN'] || 'local')
Coveralls.wear_merged!('rails') unless ENV['TEST_LOCAL']
require 'cucumber/rails'
require 'email_spec'
require 'email_spec/cucumber'
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
require 'simplecov'
require 'coveralls'
SimpleCov.command_name "rspec-" + (ENV['TEST_RUN'] || '')
Coveralls.wear_merged!('rails')
Coveralls.wear_merged!('rails') unless ENV['TEST_LOCAL']
require 'rspec/rails'
require 'factory_girl'
require 'database_cleaner'
Expand Down

0 comments on commit d5070e9

Please sign in to comment.