diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-12-18 19:37:41 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-12-18 19:37:41 +0000 |
commit | 35e7277205e7edfe140c5eea2b40549a3eb2c864 (patch) | |
tree | d1fbabdcd857db219b132ddededc45492ca49b81 /lib/tasks | |
parent | 122e37ca509671f3b8ed34fa4b235df0a868c84f (diff) |
Include Rake::DSL module manually to avoid deprecation warnings as per
https://github.com/dchelimsky/rspec-rails/commit/be52a9841dde0292c7bc7ecfe39e7214b4db1cab
Diffstat (limited to 'lib/tasks')
-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 ... |