Skip to content
Browse files

Support RSpec 1.x.

  • Loading branch information...
1 parent 8e0f05c commit 60a3b019b2163154bdddf2a775d8f06f34848704 @oggy committed Jan 7, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/ritual.rb
View
2 lib/ritual.rb
@@ -85,6 +85,8 @@ def spec_task(*args, &block)
require 'rspec/rake/spectask'
Spec::Rake::SpecTask.new(*args, &block)
rescue LoadError
+ require 'spec/rake/spectask'
+ Spec::Rake::SpecTask.new(*args, &block)
end
end

0 comments on commit 60a3b01

Please sign in to comment.
Something went wrong with that request. Please try again.