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

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

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

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

  before do
    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