Sha256: 72a67a0e8a17e1c50be316e55ea09d0211111c82c83ce6b0e63178e4e336913b
Contents?: true
Size: 681 Bytes
Versions: 19
Compression:
Stored size: 681 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', '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
19 entries across 19 versions & 1 rubygems