summaryrefslogtreecommitdiff
path: root/spec/support/git_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/git_helpers.rb')
-rw-r--r--spec/support/git_helpers.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/support/git_helpers.rb b/spec/support/git_helpers.rb
new file mode 100644
index 00000000000..93422390ef7
--- /dev/null
+++ b/spec/support/git_helpers.rb
@@ -0,0 +1,9 @@
+module GitHelpers
+ def random_git_name
+ "#{FFaker::Product.brand}-#{FFaker::Product.brand}-#{rand(1000)}"
+ end
+end
+
+RSpec.configure do |config|
+ config.include GitHelpers
+end