Sha256: 205df6db83bcad1429df1cf02cec6b4415bd10401871a07dd65e05e179e86a0d

Contents?: true

Size: 411 Bytes

Versions: 596

Compression:

Stored size: 411 Bytes

Contents

require File.join(File.expand_path(File.dirname(__FILE__)), '../..', 'test_helper.rb')
require 'rbbt/workflow'

class TestWorkflowDoc < Test::Unit::TestCase
  TEMPLATE=<<-EOF
Title of the template

Paragraph1

Paragraph2

# Tasks

Paragraph3

## task1

Task 1

## task2

Task 2

  EOF
  def test_parse
    i = Workflow.parse_workflow_doc(TEMPLATE)
    assert_equal "Title of the template", i[:title]
  end
end

Version data entries

596 entries across 596 versions & 1 rubygems

Version Path
rbbt-util-5.43.0 test/rbbt/workflow/test_doc.rb
rbbt-util-5.42.0 test/rbbt/workflow/test_doc.rb
rbbt-util-5.41.1 test/rbbt/workflow/test_doc.rb
rbbt-util-5.41.0 test/rbbt/workflow/test_doc.rb
rbbt-util-5.40.5 test/rbbt/workflow/test_doc.rb
rbbt-util-5.40.4 test/rbbt/workflow/test_doc.rb
rbbt-util-5.40.3 test/rbbt/workflow/test_doc.rb
rbbt-util-5.40.0 test/rbbt/workflow/test_doc.rb
rbbt-util-5.39.0 test/rbbt/workflow/test_doc.rb
rbbt-util-5.38.1 test/rbbt/workflow/test_doc.rb
rbbt-util-5.38.0 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.16 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.15 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.14 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.13 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.12 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.11 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.10 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.9 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.8 test/rbbt/workflow/test_doc.rb