Sha256: 12e20ca9535a158f13ab4d107321757232d22f252f3de171ae2d4027ef6ef68a

Contents?: true

Size: 428 Bytes

Versions: 1

Compression:

Stored size: 428 Bytes

Contents

require 'ratch'

KO.case "Ratch::RDocUtils" do

  def initialize #before :all do
    @shell = Ratch::Shell.new
    @shell.extend(Ratch::RDocUtils)
  end

  setup do
    stage_copy 'fixtures/rdoc_sample'
  end

  test "#rdoc" do
    @shell.rdoc('README.rdoc', 'lib')
    File.directory?('doc') &&
    File.directory?('doc/classes') &&
    File.directory?('doc/files') &&
    File.file?('doc/classes/RDocSample.html')
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ratch-1.2.0 test/utils/case_rdoc.rb