f0391c2517
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
8 lines
218 B
Ruby
8 lines
218 B
Ruby
# frozen_string_literal: true
|
|
|
|
RSpec::Matchers.define :gitlab_git_repository_with do |values|
|
|
match do |actual|
|
|
actual.is_a?(Gitlab::Git::Repository) &&
|
|
values.all? { |k, v| actual.send(k) == v }
|
|
end
|
|
end
|