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.37.6 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.4 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.3 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.1 test/rbbt/workflow/test_doc.rb
rbbt-util-5.37.0 test/rbbt/workflow/test_doc.rb
rbbt-util-5.36.0 test/rbbt/workflow/test_doc.rb
rbbt-util-5.35.4 test/rbbt/workflow/test_doc.rb
rbbt-util-5.35.3 test/rbbt/workflow/test_doc.rb
rbbt-util-5.35.2 test/rbbt/workflow/test_doc.rb
rbbt-util-5.35.1 test/rbbt/workflow/test_doc.rb
rbbt-util-5.34.27 test/rbbt/workflow/test_doc.rb
rbbt-util-5.34.26 test/rbbt/workflow/test_doc.rb
rbbt-util-5.34.25 test/rbbt/workflow/test_doc.rb
rbbt-util-5.34.24 test/rbbt/workflow/test_doc.rb
rbbt-util-5.34.23 test/rbbt/workflow/test_doc.rb
rbbt-util-5.34.22 test/rbbt/workflow/test_doc.rb
rbbt-util-5.34.21 test/rbbt/workflow/test_doc.rb
rbbt-util-5.34.20 test/rbbt/workflow/test_doc.rb
rbbt-util-5.34.18 test/rbbt/workflow/test_doc.rb
rbbt-util-5.34.17 test/rbbt/workflow/test_doc.rb