Sha256: 40a2ef4ff626a959545e7a7856c23ab6d6e0b7ad8aaef0d994058fdc6c841a56

Contents?: true

Size: 459 Bytes

Versions: 80

Compression:

Stored size: 459 Bytes

Contents

require 'pact/mock_service/interactions/candidate_interactions'

module Pact
  module MockService
    module Interactions
      class ExpectedInteractions < Array

        def find_candidate_interactions actual_request
          Pact::MockService::Interactions::CandidateInteractions.new(
            select do | interaction |
              interaction.request.matches_route? actual_request
            end
          )
        end
      end
    end
  end
end

Version data entries

80 entries across 80 versions & 2 rubygems

Version Path
pact-mock_service-3.12.3 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.12.2 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.12.1 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.12.0 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.11.2 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.11.1 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.11.0 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.10.0 lib/pact/mock_service/interactions/expected_interactions.rb
hs-pact-mock_service-3.9.2 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.9.1 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.9.0 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.8.0 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.7.0 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.6.2 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.6.1 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.6.0 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.5.0 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.4.0 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.3.1 lib/pact/mock_service/interactions/expected_interactions.rb
pact-mock_service-3.3.0 lib/pact/mock_service/interactions/expected_interactions.rb