Sha256: a8c2599faee9c24dfdcbf0e13723ed6e0a9d40cf619681877575648a627453a1
Contents?: true
Size: 634 Bytes
Versions: 4
Compression:
Stored size: 634 Bytes
Contents
require_relative '../helpers' require 'prmd/cli/doc' class PrmdCliDocTest < Minitest::Test include CliBaseTestHelpers def command_module Prmd::CLI::Doc end def argv_for_test_run ['-s', input_schemas_path('doc-settings.json'), '-p', 'overview.txt', 'schema/api.json', '-o', 'schema/verified-api.json'] end def validate_parse_options(options) assert_equal 'application/bread', options[:content_type] assert_equal ['overview.txt'], options[:prepend] assert_equal 'schema/verified-api.json', options[:output_file] assert_equal ['schema/api.json'], options[:argv] super end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
prmd-0.14.0 | test/cli/doc_test.rb |
prmd-0.13.0 | test/cli/doc_test.rb |
prmd-0.12.0 | test/cli/doc_test.rb |
prmd-0.11.11 | test/cli/doc_test.rb |