Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69ec4d9 commit 70ea6b7Copy full SHA for 70ea6b7
rake_tasks/test.rake
@@ -79,9 +79,7 @@ Please rename or remove it and run again to use the GitHub repository:
79
end
80
81
82
-unless RUBY_VERSION[/^2.3/]
83
- require 'rspec/core/rake_task'
84
- RSpec::Core::RakeTask.new(:spec)
85
-end
+require 'rspec/core/rake_task'
+RSpec::Core::RakeTask.new(:spec)
86
87
task :test => %w(test:functional test:units test:exe spec)
spec/spec_helper.rb
@@ -1,5 +1,7 @@
1
-require 'simplecov'
2
-SimpleCov.start
+unless RUBY_VERSION[/^2.3/]
+ require 'simplecov'
3
+ SimpleCov.start
4
+end
5
6
# This file was generated by the `rspec --init` command. Conventionally, all
7
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
0 commit comments