gitlab-org--gitlab-foss/spec/support/matchers/gitaly_matchers.rb
2017-04-04 16:53:44 +02:00

3 lines
120 B
Ruby

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