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 Jasmine
module Headless module Headless
class Task class Task
begin include Rake::DSL if defined?(Rake::DSL)
include Rake::DSL
rescue NameError
# never mind
end
attr_accessor :colors, :keep_on_error, :jasmine_config attr_accessor :colors, :keep_on_error, :jasmine_config