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.19.26 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.25 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.24 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.23 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.22 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.21 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.20 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.19 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.18 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.17 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.16 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.15 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.14 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.13 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.12 test/rbbt/workflow/test_doc.rb
rbbt-util-5.19.11 test/rbbt/workflow/test_doc.rb