diff options
author | Chris Baumbauer <cab@cabnetworks.net> | 2019-01-22 03:00:16 +0300 |
---|---|---|
committer | Chris Baumbauer <cab@cabnetworks.net> | 2019-02-06 09:34:15 +0300 |
commit | 17bae7c797bbf0a78bf8b16e0423a40ee767bf21 (patch) | |
tree | 7972230c7b8a59661a9c0dd8e9b47ab3ee3bef0a /spec/features/projects/serverless/functions_spec.rb | |
parent | d0187de202d94fa445a28c347b7a54dbf09a22a8 (diff) |
Modified Knative list view to provide more details
Diffstat (limited to 'spec/features/projects/serverless/functions_spec.rb')
-rw-r--r-- | spec/features/projects/serverless/functions_spec.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/spec/features/projects/serverless/functions_spec.rb b/spec/features/projects/serverless/functions_spec.rb index 766c63725b3..aa71669de98 100644 --- a/spec/features/projects/serverless/functions_spec.rb +++ b/spec/features/projects/serverless/functions_spec.rb @@ -1,6 +1,10 @@ +# frozen_string_literal: true + require 'spec_helper' describe 'Functions', :js do + include KubernetesHelpers + let(:project) { create(:project) } let(:user) { create(:user) } @@ -34,11 +38,14 @@ describe 'Functions', :js do end context 'when the user has a cluster and knative installed and visits the serverless page' do - let!(:cluster) { create(:cluster, :project, :provided_by_gcp) } + let(:cluster) { create(:cluster, :project, :provided_by_gcp) } + let(:service) { cluster.platform_kubernetes } let(:knative) { create(:clusters_applications_knative, :installed, cluster: cluster) } let(:project) { knative.cluster.project } before do + stub_kubeclient_knative_services + stub_kubeclient_service_pods visit project_serverless_functions_path(project) end |