Sha256: 7f094fc906965c941318a55fb9f2efb447eaf622a12ebc8e82af5a32370ed09b

Contents?: true

Size: 400 Bytes

Versions: 28

Compression:

Stored size: 400 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), "..", "parser_test_helper"))

class BasicTest < Test::Unit::TestCase
  
  def test_restores_original_dir
    original_dir = Dir.pwd
    puts "*** #{original_dir}"
    PDoc::Runner.new("test/fixtures/test.txt",
      :output    => 'test/output',
      :templates => 'templates/html'
    ).run
    assert_equal original_dir, Dir.pwd
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

Version Path
distil-0.12.6 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.12.4 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.12.3 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.12.2 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.12.1 vendor/pdoc/test/unit/runner/basic_test.rb
pdoc-0.2.0 test/unit/runner/basic_test.rb
distil-0.12.0 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.11.8 vendor/pdoc/test/unit/runner/basic_test.rb