summaryrefslogtreecommitdiff
path: root/spec/support/migrations_helpers/namespaces_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/migrations_helpers/namespaces_helper.rb')
-rw-r--r--spec/support/migrations_helpers/namespaces_helper.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/support/migrations_helpers/namespaces_helper.rb b/spec/support/migrations_helpers/namespaces_helper.rb
deleted file mode 100644
index c62ef6a4620..00000000000
--- a/spec/support/migrations_helpers/namespaces_helper.rb
+++ /dev/null
@@ -1,14 +0,0 @@
-# frozen_string_literal: true
-
-module MigrationHelpers
- module NamespacesHelpers
- def create_namespace(name, visibility, options = {})
- table(:namespaces).create!({
- name: name,
- path: name,
- type: 'Group',
- visibility_level: visibility
- }.merge(options))
- end
- end
-end