Sha256: 8257582d7fe1ce1a3f1ec6facf09ebdc5034fd60d7cfc902ca9b3ca59e7d780f
Contents?: true
Size: 557 Bytes
Versions: 14
Compression:
Stored size: 557 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
14 entries across 14 versions & 1 rubygems