File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 5
5
require "simplecov-console"
6
6
require "rails/version"
7
7
8
- if ENV [ "MEASURE_COVERAGE" ]
9
- SimpleCov . start do
10
- command_name "minitest-rails#{ Rails ::VERSION ::STRING } -ruby#{ RUBY_VERSION } "
11
-
12
- formatter SimpleCov ::Formatter ::Console
13
- end
14
- Rails . application . eager_load!
15
- end
16
-
17
8
require "bundler/setup"
18
9
require "pathname"
19
10
require "minitest/autorun"
@@ -40,6 +31,15 @@ def self.warn(message)
40
31
require File . expand_path ( "sandbox/config/environment.rb" , __dir__ )
41
32
require "rails/test_help"
42
33
34
+ if ENV [ "MEASURE_COVERAGE" ]
35
+ SimpleCov . start do
36
+ command_name "minitest-rails#{ Rails ::VERSION ::STRING } -ruby#{ RUBY_VERSION } "
37
+
38
+ formatter SimpleCov ::Formatter ::Console
39
+ end
40
+ Rails . application . eager_load!
41
+ end
42
+
43
43
require "capybara/cuprite"
44
44
45
45
# Rails registers its own driver named "cuprite" which will overwrite the one we
You can’t perform that action at this time.
0 commit comments