debian-mirror-gitlab/spec/support/helpers/namespaces_test_helper.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
424 B
Ruby
Raw Normal View History

2022-07-16 23:28:13 +05:30
# 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
2022-07-23 23:45:48 +05:30
def get_buy_storage_url(namespace)
buy_storage_subscriptions_url(selected_group: namespace.id)
end
2022-07-16 23:28:13 +05:30
end
NamespacesTestHelper.prepend_mod