mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Use ENV var for coverage
This will lessen the chance of mistakenly committing with that branch set to true.
This commit is contained in:
parent
ffd3b92aa3
commit
1279fe68cb
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -3,3 +3,4 @@ Gemfile.lock
|
||||||
*.swp
|
*.swp
|
||||||
dump.rdb
|
dump.rdb
|
||||||
.rbx
|
.rbx
|
||||||
|
coverage/
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
$TESTING = true
|
$TESTING = true
|
||||||
if false
|
if ENV.has_key?("SIMPLECOV")
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
SimpleCov.start
|
SimpleCov.start
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue