gitlab-org--gitlab-foss/spec/support/matchers/gitaly_matchers.rb
2017-03-01 18:46:59 -03:00

3 lines
126 B
Ruby

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