Sha256: db3ecdd8c98da8d17f24641b410552b13e6f6e94889f6d5c343ac6b1073265c5
Contents?: true
Size: 459 Bytes
Versions: 7
Compression:
Stored size: 459 Bytes
Contents
require File.join(File.dirname(__FILE__), '<%= '../' * const.nesting_depth %>tap_test_helper.rb') require '<%= const.path %>' class <%= const.name %>Test < Test::Unit::TestCase acts_as_tap_test def test_<%= const.basename %> task = <%= const.const_name %>.new :message => "goodnight" # a simple test assert_equal({:message => 'goodnight'}, task.config) assert_equal "goodnight moon", task.process("moon") end end
Version data entries
7 entries across 7 versions & 1 rubygems