Sha256: cb32959571526cd5b0d88ec6da44c9024eb7ed8f75dd993763ee12d0d647caec
Contents?: true
Size: 543 Bytes
Versions: 2
Compression:
Stored size: 543 Bytes
Contents
require 'spec_helper' describe 'Handle::ErrorParser', unless: jruby? do subject { Handle::ErrorParser.failure_message(raw_line) } context "A failure with 3 parts" do let(:raw_line) { '==>FAILURE[7]: create:10427.TEST/000001: No authentication info provided' } it { is_expected.to eq 'No authentication info provided' } end context "A failure with 4 parts" do let(:raw_line) { "==>FAILURE[7]: create:10427.TEST/000001: Error(101): HANDLE ALREADY EXISTS" } it { is_expected.to eq 'HANDLE ALREADY EXISTS' } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
handle-system-0.1.1 | spec/error_parser_spec.rb |
handle-system-0.1.0 | spec/error_parser_spec.rb |