better fix rake task for new rake dsl
This commit is contained in:
parent
7c37c80a9a
commit
2baed03356
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user