debian-mirror-gitlab/spec/support/git_helpers.rb
2016-09-29 09:46:39 +05:30

9 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