mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
Extract simplecov
config
This commit is contained in:
parent
498975af97
commit
25a290b751
3 changed files with 8 additions and 2 deletions
8
.simplecov
Normal file
8
.simplecov
Normal file
|
@ -0,0 +1,8 @@
|
|||
SimpleCov.start 'rails' do
|
||||
add_filter '/app/models/legacy/'
|
||||
add_filter '/app/models/version/'
|
||||
add_filter '/lib/action_controller/'
|
||||
add_filter '/lib/core_ext/'
|
||||
add_filter '/lib/daemons/'
|
||||
add_filter '/lib/gem_ext/'
|
||||
end
|
|
@ -1,7 +1,6 @@
|
|||
if ENV['COVERAGE']
|
||||
require 'simplecov'
|
||||
SimpleCov.command_name 'spec'
|
||||
SimpleCov.start 'rails'
|
||||
end
|
||||
|
||||
require 'webmock/rspec'
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
if ENV['COVERAGE']
|
||||
require 'simplecov'
|
||||
SimpleCov.command_name 'test'
|
||||
SimpleCov.start 'rails'
|
||||
end
|
||||
|
||||
ENV['RAILS_ENV'] ||= 'test'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue