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.20.9 test/rbbt/workflow/test_doc.rb
rbbt-util-5.20.8 test/rbbt/workflow/test_doc.rb
rbbt-util-5.20.7 test/rbbt/workflow/test_doc.rb
rbbt-util-5.20.6 test/rbbt/workflow/test_doc.rb
rbbt-util-5.20.5 test/rbbt/workflow/test_doc.rb
rbbt-util-5.20.4 test/rbbt/workflow/test_doc.rb
rbbt-util-5.20.3 test/rbbt/workflow/test_doc.rb
rbbt-util-5.20.2 test/rbbt/workflow/test_doc.rb
rbbt-util-5.20.1 test/rbbt/workflow/test_doc.rb
rbbt-util-5.20.0 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.37 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.36 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.35 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.34 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.32 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.31 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.30 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.29 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.28 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.27 test/rbbt/workflow/test_doc.rb