Sha256: 4f62b4775dd7a84beb06b6c869d55af56f154f7917afd015a505c176cee99d57
Contents?: true
Size: 640 Bytes
Versions: 12
Compression:
Stored size: 640 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Evostream::CLI::Argument::Help do let(:runner) { Evostream::Runner.new } let(:out) do file = File.join(__dir__, '..', '..', '..', 'lib', 'evostream', 'cli', 'option', 'help') File.read(file) end let(:code) { 0 } context 'when short argument' do before { ARGV.push('-h') } after { ARGV.pop } include_examples 'argument exit' include_examples 'argument output' end context 'when long argument' do before { ARGV.push('-h') } after { ARGV.pop } include_examples 'argument exit' include_examples 'argument output' end end
Version data entries
12 entries across 12 versions & 1 rubygems