Sha256: ff7ba05cf6066ab863a285525ca7a38834892cb7a09c0d2675b9a18f6bc045a3
Contents?: true
Size: 696 Bytes
Versions: 14
Compression:
Stored size: 696 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Evostream::CLI::Argument::Port, type: :cli do before { ARGV.push('--port') } after { ARGV.pop } let(:runner) { Evostream::Runner.new } context 'when argument with port dont given' do let(:out) { /Command is invalid !!/ } let(:code) { 101 } include_examples 'argument exit' include_examples 'argument output' end context 'when argumentw with port given', broken: true do before { ARGV.push(5489) } after { ARGV.pop } let(:out) { /No command executed !! No command precise\./ } let(:code) { 100 } include_examples 'argument exit' include_examples 'argument output' end end
Version data entries
14 entries across 14 versions & 1 rubygems