Sha256: 22be7223e8f53256a7a1674063f859a6f71c0245fda9f4abe4cf7c526ba49a95
Contents?: true
Size: 516 Bytes
Versions: 19
Compression:
Stored size: 516 Bytes
Contents
require File.expand_path(File.join(File.dirname(__FILE__), '..', 'helpers')) require 'prmd/cli/generate' class PrmdCliGenerateTest < Minitest::Test include CliBaseTestHelpers def command_module Prmd::CLI::Generate end def argv_for_test_run ['-y', 'bread', '-o', 'schema/bread.yml'] end def validate_parse_options(options) assert_equal true, options[:yaml] assert_equal ['bread'], options[:argv] assert_equal 'schema/bread.yml', options[:output_file] super end end
Version data entries
19 entries across 19 versions & 1 rubygems