File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -128,6 +128,14 @@ namespace :docs do
128
128
end
129
129
130
130
task :all_tests do
131
+ if ENV [ "MEASURE_COVERAGE" ]
132
+ SimpleCov . start do
133
+ command_name "RSpec-rails#{ Rails ::VERSION ::STRING } -ruby#{ RUBY_VERSION } "
134
+
135
+ formatter SimpleCov ::Formatter ::Console
136
+ end
137
+ end
138
+
131
139
Rake ::Task [ "test" ] . invoke
132
140
Rake ::Task [ "engine_test" ] . invoke
133
141
Rake ::Task [ "spec" ] . invoke
Original file line number Diff line number Diff line change 4
4
require "simplecov-console"
5
5
require "rails/version"
6
6
7
- if ENV [ "MEASURE_COVERAGE" ]
8
- SimpleCov . start do
9
- command_name "RSpec-rails#{ Rails ::VERSION ::STRING } -ruby#{ RUBY_VERSION } "
10
-
11
- formatter SimpleCov ::Formatter ::Console
12
- end
13
- end
14
-
15
7
require "bundler/setup"
16
8
17
9
# Configure Rails Environment
You can’t perform that action at this time.
0 commit comments