diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-25 15:13:15 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-11-25 15:13:15 +0100 |
commit | d766ab9f9a72a2919fb20c27fdf7b74e88042340 (patch) | |
tree | 6e98251f003430442b41008bb10a8c0edff2b1db | |
parent | e1285c1d8ad2c7a5ed556bd5296fbe4afcacb16d (diff) | |
download | gitlab-ce-d766ab9f9a72a2919fb20c27fdf7b74e88042340.tar.gz |
Remove pipeline factory that is not used in tests
-rw-r--r-- | spec/factories/ci/pipelines.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/factories/ci/pipelines.rb b/spec/factories/ci/pipelines.rb index 3c35dae8772..4fd29806590 100644 --- a/spec/factories/ci/pipelines.rb +++ b/spec/factories/ci/pipelines.rb @@ -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')) } |