Skip to content

Commit

Permalink
disable specs for Ruby 1.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
korny committed Nov 24, 2019
1 parent e18aa32 commit f3b1f3d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions rake_tasks/test.rake
Expand Up @@ -79,7 +79,9 @@ Please rename or remove it and run again to use the GitHub repository:
end
end

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
if RUBY_VERSION >= '1.9'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
end

task :test => %w(test:functional test:units test:exe spec)
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
@@ -1,4 +1,4 @@
if RUBY_VERSION >= '1.9' && !RUBY_VERSION[/^2.3/]
unless RUBY_VERSION[/^2.3/]
require 'simplecov'
SimpleCov.start
end
Expand Down

0 comments on commit f3b1f3d

Please sign in to comment.