Sha256: 082cca1167602d7557386466793c48875ed308bd5f1f347a812d21ff96ba3059
Contents?: true
Size: 649 Bytes
Versions: 14
Compression:
Stored size: 649 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Evostream::CLI::Argument::Version do let(:runner) { Evostream::Runner.new } let(:out) { /##################################\n^# Ruby --.*\n^# Evostream::Event -- .*\n##################################/m } let(:code) { 0 } context 'when short argument' do before { ARGV.push('-v') } after { ARGV.pop } include_examples 'argument exit' include_examples 'argument output' end context 'when long argument' do before { ARGV.push('--version') } after { ARGV.pop } include_examples 'argument exit' include_examples 'argument output' end end
Version data entries
14 entries across 14 versions & 1 rubygems