Remove pipeline factory that is not used in tests

This commit is contained in:
Grzegorz Bizon 2016-11-25 15:13:15 +01:00
parent e1285c1d8a
commit d766ab9f9a
1 changed files with 0 additions and 6 deletions

View File

@ -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')) }