diff options
author | Louise Crow <louise.crow@gmail.com> | 2013-02-14 18:56:16 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2013-02-14 19:03:40 +0000 |
commit | bc0cc811e80143d0255d86433a80a823d1141dd0 (patch) | |
tree | 0c5005b2b03e540d8ab562da06539414709fbc18 /lib/tasks/rspec.rake | |
parent | 6fa9c17c7cd5551489a77f6e89543b7886be51d4 (diff) | |
parent | 2c5749d4d92e6601856cef6f7e2201d06d885183 (diff) |
Diffstat (limited to 'lib/tasks/rspec.rake')
-rw-r--r-- | lib/tasks/rspec.rake | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/tasks/rspec.rake b/lib/tasks/rspec.rake index 1eee74aee..d4fd4a9ff 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 ... @@ -52,8 +55,6 @@ end task :default => :spec task :stats => "spec:statsetup" -# XXX commonlib tests are not Ruby 1.9 compatible -#task :spec => ['spec:commonlib'] task :test => ['spec'] task :cruise => ['spec'] |