Skip to content
This repository has been archived by the owner on Aug 16, 2023. It is now read-only.

Include the Rake::DSL module manually to remove deprecation messages from #11

Merged
merged 2 commits into from Aug 22, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions generators/rspec/templates/rspec.rake
Expand Up @@ -24,6 +24,10 @@ 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 ...
Expand Down