diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-12 10:23:31 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-04-12 10:23:31 +0200 |
commit | ac50f9dddfb4555a2c356454c1cbfc1cc0b37d6d (patch) | |
tree | 39bbb7104ddbfc489fd224ccc8b9731b73f57708 /features/steps/shared/builds.rb | |
parent | 52be9e20f9e2382f01a778d7b348283e7dd757e6 (diff) | |
download | gitlab-ce-ac50f9dddfb4555a2c356454c1cbfc1cc0b37d6d.tar.gz |
Fix rest of rspec and spinach tests
Diffstat (limited to 'features/steps/shared/builds.rb')
-rw-r--r-- | features/steps/shared/builds.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/shared/builds.rb b/features/steps/shared/builds.rb index c4c7672a432..cf30e23b6bd 100644 --- a/features/steps/shared/builds.rb +++ b/features/steps/shared/builds.rb @@ -10,16 +10,16 @@ module SharedBuilds end step 'project has a recent build' do - @ci_commit = create(:ci_commit, project: @project, sha: @project.commit.sha) + @ci_commit = create(:ci_commit, project: @project, sha: @project.commit.sha, ref: 'master') @build = create(:ci_build_with_coverage, commit: @ci_commit) end step 'recent build is successful' do - @build.update_column(:status, 'success') + @build.update(status: 'success') end step 'recent build failed' do - @build.update_column(:status, 'failed') + @build.update(status: 'failed') end step 'project has another build that is running' do |