Skip to content

Commit f3b1f3d

Browse files
committed
disable specs for Ruby 1.8.7
1 parent e18aa32 commit f3b1f3d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

rake_tasks/test.rake

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

82-
require 'rspec/core/rake_task'
83-
RSpec::Core::RakeTask.new(:spec)
82+
if RUBY_VERSION >= '1.9'
83+
require 'rspec/core/rake_task'
84+
RSpec::Core::RakeTask.new(:spec)
85+
end
8486

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

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
if RUBY_VERSION >= '1.9' && !RUBY_VERSION[/^2.3/]
1+
unless RUBY_VERSION[/^2.3/]
22
require 'simplecov'
33
SimpleCov.start
44
end

0 commit comments

Comments
 (0)