diff options
Diffstat (limited to 'spec/models/project_spec.rb')
-rw-r--r-- | spec/models/project_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/models/project_spec.rb b/spec/models/project_spec.rb index b1f88c4530e..37604a557ea 100644 --- a/spec/models/project_spec.rb +++ b/spec/models/project_spec.rb @@ -2765,8 +2765,9 @@ describe Project do describe '#deployment_variables' do let(:project) { create(:project) } let(:environment) { 'production' } + let(:namespace) { 'namespace' } - subject { project.deployment_variables(environment: environment) } + subject { project.deployment_variables(environment: environment, kubernetes_namespace: namespace) } before do expect(project).to receive(:deployment_platform).with(environment: environment) @@ -2785,7 +2786,7 @@ describe Project do before do expect(deployment_platform).to receive(:predefined_variables) - .with(project: project, environment_name: environment) + .with(project: project, environment_name: environment, kubernetes_namespace: namespace) .and_return(platform_variables) end |