Welcome to mirror list, hosted at ThFree Co, Russian Federation.

namespaces_test_helper.rb « helpers « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 08224cfd43c7e9bad55bd91ed33f9a3d04ace42f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# frozen_string_literal: true

module NamespacesTestHelper
  def get_buy_minutes_path(namespace)
    buy_minutes_subscriptions_path(selected_group: namespace.id)
  end

  def get_buy_storage_path(namespace)
    buy_storage_subscriptions_path(selected_group: namespace.id)
  end

  def get_buy_storage_url(namespace)
    buy_storage_subscriptions_url(selected_group: namespace.id)
  end
end

NamespacesTestHelper.prepend_mod