Enable coverage

Signed-off-by: Kenji Okimoto <okimoto@clear-code.com>
This commit is contained in:
Kenji Okimoto 2018-10-10 12:10:46 +09:00
parent 3773141eeb
commit d62e18e619
No known key found for this signature in database
GPG Key ID: F9E3E329A5C5E4A1

View File

@ -1,4 +1,9 @@
ENV['RAILS_ENV'] ||= 'test' ENV['RAILS_ENV'] ||= 'test'
if ENV['RAILS_ENV'] == 'test'
require 'simplecov'
SimpleCov.start("rails")
end
require_relative '../config/environment' require_relative '../config/environment'
require 'test/unit/rails/test_help' require 'test/unit/rails/test_help'
require 'test/unit/rr' require 'test/unit/rr'