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 e18aa32 commit f3b1f3dCopy full SHA for f3b1f3d
rake_tasks/test.rake
@@ -79,7 +79,9 @@ Please rename or remove it and run again to use the GitHub repository:
79
end
80
81
82
-require 'rspec/core/rake_task'
83
-RSpec::Core::RakeTask.new(:spec)
+if RUBY_VERSION >= '1.9'
+ require 'rspec/core/rake_task'
84
+ RSpec::Core::RakeTask.new(:spec)
85
+end
86
87
task :test => %w(test:functional test:units test:exe spec)
spec/spec_helper.rb
@@ -1,4 +1,4 @@
1
-if RUBY_VERSION >= '1.9' && !RUBY_VERSION[/^2.3/]
+unless RUBY_VERSION[/^2.3/]
2
require 'simplecov'
3
SimpleCov.start
4
0 commit comments