mirror of
https://github.com/internetee/registry.git
synced 2025-08-15 05:53:55 +02:00
Configure SimpleCov to use Rails config
This commit is contained in:
parent
3759e8179b
commit
480f915a4d
2 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
if ENV['COVERAGE']
|
if ENV['COVERAGE']
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
SimpleCov.start
|
SimpleCov.start 'rails'
|
||||||
end
|
end
|
||||||
|
|
||||||
require 'webmock/rspec'
|
require 'webmock/rspec'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
if ENV['COVERAGE']
|
if ENV['COVERAGE']
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
SimpleCov.start
|
SimpleCov.start 'rails'
|
||||||
end
|
end
|
||||||
|
|
||||||
ENV['RAILS_ENV'] ||= 'test'
|
ENV['RAILS_ENV'] ||= 'test'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue