Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/projects/serverless/functions_spec.rb')
-rw-r--r--spec/features/projects/serverless/functions_spec.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/projects/serverless/functions_spec.rb b/spec/features/projects/serverless/functions_spec.rb
index c661ceb8eda..e494a0e9626 100644
--- a/spec/features/projects/serverless/functions_spec.rb
+++ b/spec/features/projects/serverless/functions_spec.rb
@@ -16,7 +16,12 @@ describe 'Functions', :js do
shared_examples "it's missing knative installation" do
before do
+ functions_finder = Projects::Serverless::FunctionsFinder.new(project)
visit project_serverless_functions_path(project)
+ allow(Projects::Serverless::FunctionsFinder)
+ .to receive(:new)
+ .and_return(functions_finder)
+ synchronous_reactive_cache(functions_finder)
end
it 'sees an empty state require Knative installation' do