Sha256: d9a0accb57c4258f6072fb00d9986e3e1a9584e99bd6e2bd59963bcb79a0678b

Contents?: true

Size: 404 Bytes

Versions: 10

Compression:

Stored size: 404 Bytes

Contents

require File.dirname(__FILE__) + '/tap_test_helper.rb'
require File.dirname(__FILE__) + '/../tapfile.rb'

class TapfileTest < Test::Unit::TestCase
  acts_as_tap_test
  
  def test_goodnight
    task = Goodnight.new :message => "goodnight"
    
    # a simple test
    assert_equal({:message  => 'goodnight'}, task.config)
    assert_equal "goodnight moon", task.process("moon")
  end
  
end

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
bahuvrihi-tap-0.10.0 lib/tap/generator/generators/root/templates/test/tapfile_test.rb
bahuvrihi-tap-0.10.1 lib/tap/generator/generators/root/templates/test/tapfile_test.rb
bahuvrihi-tap-0.10.2 lib/tap/generator/generators/root/templates/test/tapfile_test.rb
bahuvrihi-tap-0.10.3 lib/tap/generator/generators/root/templates/test/tapfile_test.rb
bahuvrihi-tap-0.10.4 lib/tap/generator/generators/root/templates/test/tapfile_test.rb
bahuvrihi-tap-0.10.5 lib/tap/generator/generators/root/templates/test/tapfile_test.rb
bahuvrihi-tap-0.10.6 lib/tap/generator/generators/root/templates/test/tapfile_test.rb
bahuvrihi-tap-0.10.7 lib/tap/generator/generators/root/templates/test/tapfile_test.rb
tap-0.10.0 lib/tap/generator/generators/root/templates/test/tapfile_test.rb
tap-0.10.1 lib/tap/generator/generators/root/templates/test/tapfile_test.rb