Skip to content

Commit 70ea6b7

Browse files
committed
actually, we only need to disable SimpleCov
1 parent 69ec4d9 commit 70ea6b7

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

rake_tasks/test.rake

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,7 @@ Please rename or remove it and run again to use the GitHub repository:
7979
end
8080
end
8181

82-
unless RUBY_VERSION[/^2.3/]
83-
require 'rspec/core/rake_task'
84-
RSpec::Core::RakeTask.new(:spec)
85-
end
82+
require 'rspec/core/rake_task'
83+
RSpec::Core::RakeTask.new(:spec)
8684

8785
task :test => %w(test:functional test:units test:exe spec)

spec/spec_helper.rb

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
require 'simplecov'
2-
SimpleCov.start
1+
unless RUBY_VERSION[/^2.3/]
2+
require 'simplecov'
3+
SimpleCov.start
4+
end
35

46
# This file was generated by the `rspec --init` command. Conventionally, all
57
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.

0 commit comments

Comments
 (0)