test/test_helper.rb in fluentd-ui-1.1.0 vs test/test_helper.rb in fluentd-ui-1.2.0
- old
+ new
@@ -1,5 +1,10 @@
ENV['RAILS_ENV'] ||= 'test'
+if ENV['RAILS_ENV'] == 'test'
+ require 'simplecov'
+ SimpleCov.start("rails")
+end
+
require_relative '../config/environment'
require 'test/unit/rails/test_help'
require 'test/unit/rr'
require 'test/unit/capybara'
require 'capybara-screenshot/testunit' # for integration test