2019-08-22 17:40:59 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
2019-08-27 19:26:51 -04:00
|
|
|
require_relative '../../../../spec/features/clusters/installing_applications_shared_examples'
|
2019-08-22 17:40:59 -04:00
|
|
|
|
|
|
|
describe 'Group-level Cluster Applications', :js do
|
|
|
|
include GoogleApi::CloudPlatformHelpers
|
|
|
|
|
|
|
|
let(:group) { create(:group) }
|
|
|
|
let(:user) { create(:user) }
|
|
|
|
|
|
|
|
before do
|
|
|
|
group.add_maintainer(user)
|
|
|
|
sign_in(user)
|
|
|
|
end
|
|
|
|
|
|
|
|
describe 'Installing applications' do
|
2019-08-27 19:26:51 -04:00
|
|
|
include_examples "installing applications on a cluster" do
|
|
|
|
let(:cluster_path) { group_cluster_path(group, cluster) }
|
|
|
|
let(:cluster_factory_args) { [:group, groups: [group]] }
|
2019-08-22 17:40:59 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|