better fix rake task for new rake dsl

This commit is contained in:
John Bintz 2011-06-18 12:43:22 -04:00
parent 7c37c80a9a
commit 2baed03356

View File

@ -3,11 +3,7 @@ require 'jasmine/headless/runner'
module Jasmine
module Headless
class Task
begin
include Rake::DSL
rescue NameError
# never mind
end
include Rake::DSL if defined?(Rake::DSL)
attr_accessor :colors, :keep_on_error, :jasmine_config