diff options
Diffstat (limited to 'lib/tasks/rspec.rake')
-rw-r--r-- | lib/tasks/rspec.rake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/tasks/rspec.rake b/lib/tasks/rspec.rake index 1eee74aee..b9b234b6a 100644 --- a/lib/tasks/rspec.rake +++ b/lib/tasks/rspec.rake @@ -23,6 +23,9 @@ rescue MissingSourceFile module Spec module Rake class SpecTask + if defined?(::Rake::DSL) + include ::Rake::DSL + end def initialize(name) task name do # if rspec-rails is a configured gem, this will output helpful material and exit ... |