Sha256: 2f82077fe39d79db4f51dbbfb0c43426986d9c731891ce5cc2e93eda8ef15a85

Contents?: true

Size: 704 Bytes

Versions: 28

Compression:

Stored size: 704 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), "..", "parser_test_helper"))
require File.expand_path(File.join(File.dirname(__FILE__), *%w[.. .. .. templates html helpers]))

class HtmlHelpersTest < Test::Unit::TestCase
  include PDocTestHelper
  # include EbnfExpression
  
  def setup
    @helper = Object.new
    class << @helper
      attr_accessor :root
      include PDoc::Generators::Html::Helpers::BaseHelper
      include PDoc::Generators::Html::Helpers::LinkHelper
      include PDoc::Generators::Html::Helpers::CodeHelper
      
      def path_to(foo)
        '/some/path' # Not tested here, although it should
      end
    end
  end
  
  def test_truth
    assert true
  end
end

Version data entries

28 entries across 28 versions & 2 rubygems

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