summaryrefslogtreecommitdiff
path: root/spec/support/helpers/namespaces_test_helper.rb
blob: 9762c38a9bbf2d8edab5e786e8efe2702506acc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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
end

NamespacesTestHelper.prepend_mod