debian-mirror-gitlab/spec/support/matchers/gitaly_matchers.rb

4 lines
120 B
Ruby
Raw Normal View History

2017-08-17 22:00:37 +05:30
RSpec::Matchers.define :gitaly_request_with_repo_path do |path|
match { |actual| actual.repository.path == path }
end