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