diff --git a/lib/tasks/rspec.rake b/lib/tasks/rspec.rake index 4a1e1657..839e0464 100644 --- a/lib/tasks/rspec.rake +++ b/lib/tasks/rspec.rake @@ -5,8 +5,8 @@ rescue MissingSourceFile module Rspec module Core class RakeTask + include Rake::DSL def initialize(name) - include Rake::DSL task name do # if rspec-rails is a configured gem, this will output helpful material and exit ... require File.expand_path(File.dirname(__FILE__) + "/../../config/environment")