Sha256: 1c6427337eef1d808ec4b7810a90e2e8a21e95727e3682734c5f804ccc417dad

Contents?: true

Size: 225 Bytes

Versions: 3

Compression:

Stored size: 225 Bytes

Contents

RSpec::Matchers.define :include_a_provided do |expected|
  match do |actual_list|
    actual_list.detect do |actual|
      SerialSpec::RequestResponse::ProvideMatcher::Provide.new(expected).matches?(actual)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
serial-spec-0.4.0 lib/serial_spec/request_response/include_provide_matcher.rb
serial-spec-0.3.1 lib/serial_spec/request_response/include_provide_matcher.rb
serial-spec-0.3.0 lib/serial_spec/request_response/include_provide_matcher.rb