We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21b6422 commit 946823fCopy full SHA for 946823f
2 files changed
Rakefile
@@ -128,6 +128,14 @@ namespace :docs do
128
end
129
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
138
139
Rake::Task["test"].invoke
140
Rake::Task["engine_test"].invoke
141
Rake::Task["spec"].invoke
spec/spec_helper.rb
@@ -4,14 +4,6 @@
4
require "simplecov-console"
5
require "rails/version"
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
require "bundler/setup"
16
17
# Configure Rails Environment
0 commit comments