summaryrefslogtreecommitdiff
path: root/spec/support/helpers/api_internal_base_helpers.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/helpers/api_internal_base_helpers.rb')
-rw-r--r--spec/support/helpers/api_internal_base_helpers.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/support/helpers/api_internal_base_helpers.rb b/spec/support/helpers/api_internal_base_helpers.rb
index e89716571f9..0c334e164a6 100644
--- a/spec/support/helpers/api_internal_base_helpers.rb
+++ b/spec/support/helpers/api_internal_base_helpers.rb
@@ -13,8 +13,6 @@ module APIInternalBaseHelpers
Gitlab::GlRepository::PROJECT.identifier_for_container(container)
when Snippet
Gitlab::GlRepository::SNIPPET.identifier_for_container(container)
- else
- nil
end
end
@@ -44,12 +42,14 @@ module APIInternalBaseHelpers
end
def push(key, container, protocol = 'ssh', env: nil, changes: nil)
- push_with_path(key,
- full_path: full_path_for(container),
- gl_repository: gl_repository_for(container),
- protocol: protocol,
- env: env,
- changes: changes)
+ push_with_path(
+ key,
+ full_path: full_path_for(container),
+ gl_repository: gl_repository_for(container),
+ protocol: protocol,
+ env: env,
+ changes: changes
+ )
end
def push_with_path(key, full_path:, gl_repository: nil, protocol: 'ssh', env: nil, changes: nil)