mirror of
https://github.com/internetee/registry.git
synced 2025-05-16 09:27:19 +02:00
Merge spec and test code coverage
This commit is contained in:
parent
480f915a4d
commit
06321df413
2 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
if ENV['COVERAGE']
|
if ENV['COVERAGE']
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
|
SimpleCov.command_name 'spec'
|
||||||
SimpleCov.start 'rails'
|
SimpleCov.start 'rails'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
if ENV['COVERAGE']
|
if ENV['COVERAGE']
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
|
SimpleCov.command_name 'test'
|
||||||
SimpleCov.start 'rails'
|
SimpleCov.start 'rails'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue