debian-mirror-gitlab/spec/support/matchers/gitaly_matchers.rb
2017-08-17 22:00:37 +05:30

3 lines
120 B
Ruby

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