Class: Shaf::Tasks::TestTask

Inherits:
Rake::TestTask
  • Object
show all
Defined in:
lib/shaf/tasks/test_task.rb

Instance Method Summary collapse

Constructor Details

#initialize(*args) ⇒ TestTask

Returns a new instance of TestTask.



6
7
8
9
10
11
12
13
# File 'lib/shaf/tasks/test_task.rb', line 6

def initialize(*args)
  super(*args) do |t|
    t.libs = %w(. api spec)
    t.verbose = true
    t.warning = false
    yield self if block_given?
  end
end