Sha256: a3e6f303e82868ad895f3126afa3ab99469d7b9d3a325513ec062fe1d811405a

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

require_relative "test_helper"

class TestConfig < DysTest

  def test_set_configs
    DocYoSelf.config do |c|
      c.template_file = 'test/template.md.erb'
      c.output_file   = 'api_docs.md'
    end
    assert_equal 'api_docs.md', DocYoSelf::Conf.output_file,
      "Unable to set output file"
    assert_equal 'test/template.md.erb', DocYoSelf::Conf.template_file,
      "Unable to set template file"
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
doc_yo_self-0.0.2 test/test_config.rb
doc_yo_self-0.0.1 test/test_config.rb