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