gitlab-org--gitlab-foss/spec/support/matchers/gitaly_matchers.rb

4 lines
126 B
Ruby

RSpec::Matchers.define :post_receive_request_with_repo_path do |path|
match { |actual| actual.repository.path == path }
end