Sha256: 84babf0a7a9ef06f210b9ee0f0170f773336558e0fb0d080c17f7ca725f18303
Contents?: true
Size: 385 Bytes
Versions: 7
Compression:
Stored size: 385 Bytes
Contents
require 'spec_helper' describe LintTrap::ExecutionError do let(:command){'ls'} let(:output){"Ain't got no time for that"} subject(:error){described_class.new(command, output)} its(:message){is_expected.to eq("An error occurred while running `#{command}`. The output was:\n#{output}")} its(:command){is_expected.to eq(command)} its(:output){is_expected.to eq(output)} end
Version data entries
7 entries across 7 versions & 1 rubygems