Commit e5ca74fa authored by Grzegorz Bizon's avatar Grzegorz Bizon

Remove difference between CE and EE in build test

There was a difference between CE and EE in one unit test for the CI/CD
build class that wasn't actually necessary, thus removing should reduce
conflicts in the future in that file.
parent ac396d9b
......@@ -1916,13 +1916,13 @@ describe Ci::Build do
allow_any_instance_of(Project)
.to receive(:predefined_variables) { [project_pre_var] }
allow_any_instance_of(EE::Project)
allow_any_instance_of(Project)
.to receive(:secret_variables_for)
.with(ref: 'master', environment: nil) do
[create(:ci_variable, key: 'secret', value: 'value')]
end
allow_any_instance_of(EE::Ci::Pipeline)
allow_any_instance_of(Ci::Pipeline)
.to receive(:predefined_variables) { [pipeline_pre_var] }
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment