gitlab-org--gitlab-foss/spec/support/git_helpers.rb

10 lines
181 B
Ruby

module GitHelpers
def random_git_name
"#{FFaker::Product.brand}-#{FFaker::Product.brand}-#{rand(1000)}"
end
end
RSpec.configure do |config|
config.include GitHelpers
end