Sha256: d24ba9e02e350c2c08cda2bec37307620120166c98a28ff67e022f3a183f3ff2

Contents?: true

Size: 272 Bytes

Versions: 2

Compression:

Stored size: 272 Bytes

Contents

# -*- encoding: utf-8 -*-
RSpec::Matchers.define :have_header do |header_name, expected|
  match do |actual|
    actual[header_name.to_sym] == expected
  end
end

RSpec::Matchers.define :have_transaction_header do |expected|
  have_frame_header :transaction, expected
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stomper-2.0.1 spec/support/frame_header_matchers.rb
stomper-2.0.0 spec/support/frame_header_matchers.rb