From 47abf00b24efb0f6263ea37eddf2d6587950c5ee Mon Sep 17 00:00:00 2001 From: Bob Van Landuyt Date: Thu, 30 Mar 2017 09:15:42 +0200 Subject: Update project build status cache when transitioning --- features/steps/shared/project.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'features') diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb index 4ee879fe922..73206c3f30d 100644 --- a/features/steps/shared/project.rb +++ b/features/steps/shared/project.rb @@ -251,7 +251,8 @@ module SharedProject step 'project "Shop" has CI build' do project = Project.find_by(name: "Shop") - create :ci_pipeline, project: project, sha: project.commit.sha, ref: 'master', status: 'skipped' + pipeline = create :ci_pipeline, project: project, sha: project.commit.sha, ref: 'master' + pipeline.skip end step 'I should see last commit with CI status' do -- cgit v1.2.3