summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-08-11 20:54:02 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-08-11 21:32:16 +0200
commit6a6a69f4afbe0107a75df018b662f02b5ec0166a (patch)
treeb7a49ab9b0913d90251245648a885de9442708c9 /features
parentd983c5bd4671d989edf3741d0db0a54dcef9c3b6 (diff)
downloadgitlab-ce-6a6a69f4afbe0107a75df018b662f02b5ec0166a.tar.gz
Use state machine for pipeline event processing
Diffstat (limited to 'features')
-rw-r--r--features/steps/shared/builds.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/features/steps/shared/builds.rb b/features/steps/shared/builds.rb
index c7f61da05fa..5ed5cdb759f 100644
--- a/features/steps/shared/builds.rb
+++ b/features/steps/shared/builds.rb
@@ -12,7 +12,6 @@ module SharedBuilds
step 'project has a recent build' do
@pipeline = create(:ci_empty_pipeline, project: @project, sha: @project.commit.sha, ref: 'master')
@build = create(:ci_build_with_coverage, pipeline: @pipeline)
- @pipeline.reload_status!
end
step 'recent build is successful' do
@@ -25,7 +24,6 @@ module SharedBuilds
step 'project has another build that is running' do
create(:ci_build, pipeline: @pipeline, name: 'second build', status: 'running')
- @pipeline.reload_status!
end
step 'I visit recent build details page' do