Sha256: fc95e06f44622cc759e1245572a25c160d9b419dc5f4ba91bbacd8747534eeb9
Contents?: true
Size: 555 Bytes
Versions: 12
Compression:
Stored size: 555 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Evostream::CLI::Argument::Command do let(:runner) { Evostream::Runner.new } let(:out) { /Commands :\n^ - .*/ } let(:code) { 0 } context 'when short argument' do before { ARGV.push('-c') } after { ARGV.pop } include_examples 'argument exit' include_examples 'argument output' end context 'when long argument' do before { ARGV.push('--commands') } after { ARGV.pop } include_examples 'argument exit' include_examples 'argument output' end end
Version data entries
12 entries across 12 versions & 1 rubygems