Sha256: f7028c4afe276ca144feca7450ad646ee1966a571ca67aafe8fe1d98227a7808

Contents?: true

Size: 231 Bytes

Versions: 1

Compression:

Stored size: 231 Bytes

Contents

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
serial-spec-0.4.1 lib/serial_spec/request_response/include_provide_matcher.rb