summaryrefslogtreecommitdiff
path: root/rake_tasks/test.rake
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2019-11-24 16:54:03 +0100
committerKornelius Kalnbach <murphy@rubychan.de>2019-11-24 16:54:03 +0100
commitf3b1f3dc9dbf1145e3244c1cc6d81438c180ea29 (patch)
tree3ea186e9fa0c2cb6ba54436eb0f6069210d8d190 /rake_tasks/test.rake
parente18aa32071f4ca83a622c9ed600b1cf4145edc06 (diff)
downloadcoderay-f3b1f3dc9dbf1145e3244c1cc6d81438c180ea29.tar.gz
disable specs for Ruby 1.8.7
Diffstat (limited to 'rake_tasks/test.rake')
-rw-r--r--rake_tasks/test.rake6
1 files changed, 4 insertions, 2 deletions
diff --git a/rake_tasks/test.rake b/rake_tasks/test.rake
index 277bd33..e72c96b 100644
--- a/rake_tasks/test.rake
+++ b/rake_tasks/test.rake
@@ -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)