From d0aafe71ea9f01996c1ec1656ca7381a714325be Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski Date: Thu, 11 Aug 2016 20:54:02 +0200 Subject: Use state machine for pipeline event processing Conflicts: app/models/ci/pipeline.rb spec/models/ci/pipeline_spec.rb --- spec/features/pipelines_spec.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'spec/features') diff --git a/spec/features/pipelines_spec.rb b/spec/features/pipelines_spec.rb index f88b8f8e60b..248e44a93aa 100644 --- a/spec/features/pipelines_spec.rb +++ b/spec/features/pipelines_spec.rb @@ -34,7 +34,6 @@ describe "Pipelines" do let!(:running) { create(:ci_build, :running, pipeline: pipeline, stage: 'test', commands: 'test') } before do - pipeline.reload_status! visit namespace_project_pipelines_path(project.namespace, project) end @@ -53,7 +52,6 @@ describe "Pipelines" do let!(:failed) { create(:ci_build, :failed, pipeline: pipeline, stage: 'test', commands: 'test') } before do - pipeline.reload_status! visit namespace_project_pipelines_path(project.namespace, project) end @@ -87,7 +85,6 @@ describe "Pipelines" do let!(:running) { create(:generic_commit_status, status: 'running', pipeline: pipeline, stage: 'test') } before do - pipeline.reload_status! visit namespace_project_pipelines_path(project.namespace, project) end @@ -104,7 +101,6 @@ describe "Pipelines" do let!(:failed) { create(:generic_commit_status, status: 'failed', pipeline: pipeline, stage: 'test') } before do - pipeline.reload_status! visit namespace_project_pipelines_path(project.namespace, project) end -- cgit v1.2.1