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.14.4 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.3 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.2 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.2.a vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.1 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.1.a vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.0 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.0.i vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.0.h vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.0.g vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.0.d vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.0.c vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.14.0.b vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.13.6 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.13.5 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.13.4 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.13.3 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.13.2 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.13.1 vendor/pdoc/test/unit/runner/basic_test.rb
distil-0.13.0 vendor/pdoc/test/unit/runner/basic_test.rb