Commit 7b610a14 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Remove unuseful test case

parent 3a23e27c
......@@ -1554,8 +1554,7 @@ describe Ci::Build, :models do
allow(project).to receive(:secret_variables_for)
.with(ref: 'master', environment: nil) do
[create(:ci_variable, key: 'secret', value: 'value'),
create(:ci_variable, key: 'env', value: 'value')]
[create(:ci_variable, key: 'secret', value: 'value')]
end
end
......@@ -1565,8 +1564,7 @@ describe Ci::Build, :models do
project_pre_var,
pipeline_pre_var,
build_yaml_var,
{ key: 'secret', value: 'value', public: false },
{ key: 'env', value: 'value', public: false }])
{ key: 'secret', value: 'value', public: false }])
end
end
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