summaryrefslogtreecommitdiff
path: root/spec/features/admin/clusters/applications_spec.rb
blob: e083e4fee4c6ba980b0b5cf6368e248d83676a7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# frozen_string_literal: true

require 'spec_helper'
require_relative '../../../../spec/features/clusters/installing_applications_shared_examples'

RSpec.describe 'Instance-level Cluster Applications', :js do
  include GoogleApi::CloudPlatformHelpers

  let(:user) { create(:admin) }

  before do
    sign_in(user)
    gitlab_enable_admin_mode_sign_in(user)
  end

  describe 'Installing applications' do
    include_examples "installing applications on a cluster" do
      let(:cluster_path) { admin_cluster_path(cluster) }
      let(:cluster_factory_args) { [:instance] }
    end
  end
end