Sha256: 8394bdd75f5f64392e301e73eb6a9bc483bdf6042c5422007894cd486e8f4ee9

Contents?: true

Size: 347 Bytes

Versions: 5

Compression:

Stored size: 347 Bytes

Contents

require 'minitest/autorun'
require 'docurium'
require 'docurium/cli'
require 'tempfile'

class GenTest < MiniTest::Unit::TestCase

  # make sure we can read what we give the user
  def test_read_generated_file
    file = Tempfile.new 'docurium'
    capture_io do
      Docurium::CLI.gen(file.path)
    end

      Docurium.new file.path
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
docurium-0.5.0 test/gen_test.rb
docurium-0.4.2 test/gen_test.rb
docurium-0.4.1 test/gen_test.rb
docurium-0.4.0 test/gen_test.rb
docurium-0.3.2 test/gen_test.rb