debian-mirror-gitlab/spec/support/git_helpers.rb

10 lines
181 B
Ruby
Raw Normal View History

2016-09-29 09:46:39 +05:30
module GitHelpers
def random_git_name
"#{FFaker::Product.brand}-#{FFaker::Product.brand}-#{rand(1000)}"
end
end
RSpec.configure do |config|
config.include GitHelpers
end