Sha256: 271aaef823ade2c20556c209c2145feafa91f73880ca1c60f3897d659bd812c3

Contents?: true

Size: 468 Bytes

Versions: 11

Compression:

Stored size: 468 Bytes

Contents

require 'spec_helper'

module Punchblock
  describe ProtocolError do
    subject { ProtocolError.new :item_not_found, 'Could not find call [id=f6d437f4-1e18-457b-99f8-b5d853f50347]', 'f6d437f4-1e18-457b-99f8-b5d853f50347', 'abc123' }

    its(:inspect) { should == '#<Punchblock::ProtocolError: name=:item_not_found text="Could not find call [id=f6d437f4-1e18-457b-99f8-b5d853f50347]" call_id="f6d437f4-1e18-457b-99f8-b5d853f50347" component_id="abc123">' }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
punchblock-0.7.1 spec/punchblock/protocol_error_spec.rb
punchblock-0.7.0 spec/punchblock/protocol_error_spec.rb
punchblock-0.6.2 spec/punchblock/protocol_error_spec.rb
punchblock-0.6.1 spec/punchblock/protocol_error_spec.rb
punchblock-0.6.0 spec/punchblock/protocol_error_spec.rb
punchblock-0.5.1 spec/punchblock/protocol_error_spec.rb
punchblock-0.5.0 spec/punchblock/protocol_error_spec.rb
punchblock-0.4.3 spec/punchblock/protocol_error_spec.rb
punchblock-0.4.2 spec/punchblock/protocol_error_spec.rb
punchblock-0.4.1 spec/punchblock/protocol_error_spec.rb
punchblock-0.4.0 spec/punchblock/protocol_error_spec.rb