Sha256: e117c6d872c6e9e764357427c8f729d51e1f156979422b8f03925826bde6ce3b
Contents?: true
Size: 237 Bytes
Versions: 11
Compression:
Stored size: 237 Bytes
Contents
shared_examples_for "script with args" do it 'displays usage and exits if no args given' do stdout_should_receive :pattern, Regexp.new("Script #{@name} .* - Usage:") expect{ cli "#{@name}" }.to raise_error SystemExit end end
Version data entries
11 entries across 11 versions & 1 rubygems