Remove pipeline factory that is not used in tests
This commit is contained in:
parent
e1285c1d8a
commit
d766ab9f9a
|
@ -18,12 +18,6 @@ FactoryGirl.define do
|
|||
end
|
||||
end
|
||||
|
||||
factory :ci_pipeline_with_two_job do
|
||||
after(:build) do |commit|
|
||||
allow(commit).to receive(:ci_yaml_file) { YAML.dump({ rspec: { script: "ls" }, spinach: { script: "ls" } }) }
|
||||
end
|
||||
end
|
||||
|
||||
factory :ci_pipeline do
|
||||
after(:build) do |commit|
|
||||
allow(commit).to receive(:ci_yaml_file) { File.read(Rails.root.join('spec/support/gitlab_stubs/gitlab_ci.yml')) }
|
||||
|
|
Loading…
Reference in New Issue