Sha256: 574696756731b9ff6188396a75d298158738361d5a9219d5ad42de8225658f2f
Contents?: true
Size: 729 Bytes
Versions: 12
Compression:
Stored size: 729 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Evostream::CLI::Argument::Config do before { ARGV.push('--config') } after { ARGV.pop } let(:runner) { Evostream::Runner.new } context 'when argument with file dont exit' do let(:out) { /No command executed !! No command precise\./ } let(:code) { 100 } include_examples 'argument exit' include_examples 'argument output' end context 'when argument with exit file', broken: true do before { ARGV.push('.travis/evostream-configuration.yml') } after { ARGV.pop } let(:out) { /Connection to Evostream REFUSED !!/ } let(:code) { 201 } include_examples 'argument exit' include_examples 'argument output' end end
Version data entries
12 entries across 12 versions & 1 rubygems