0f44c5a56f
- Tests would randomly fail because of naming conflicts. - Use a `random_git_name` method instead of using `FFaker` directly.
9 lines
181 B
Ruby
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
|