diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-28 16:49:31 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-09-29 10:47:04 +0200 |
commit | 0f3deac362cf2800ceaf17f4cded765f6c9d577c (patch) | |
tree | a4ea1bee9c7dfe9760f0bc78ab7fae7fe9b8496f /features | |
parent | 0fa4ab5fd8e0cb775ff4fe75d011ff717f0b3945 (diff) | |
download | gitlab-ce-0f3deac362cf2800ceaf17f4cded765f6c9d577c.tar.gz |
Fix tests
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/commits/commits.rb | 2 | ||||
-rw-r--r-- | features/steps/shared/project.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/commits/commits.rb b/features/steps/project/commits/commits.rb index 56f1f06fb06..47f58091b93 100644 --- a/features/steps/project/commits/commits.rb +++ b/features/steps/project/commits/commits.rb @@ -104,7 +104,7 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps step 'commit has ci status' do @project.enable_ci(@user) - create :ci_commit, project: @project.gitlab_ci_project, sha: sample_commit.id + create :ci_commit, gl_project: @project, sha: sample_commit.id end step 'I see commit ci info' do diff --git a/features/steps/shared/project.rb b/features/steps/shared/project.rb index fa841f67510..fc51cec150e 100644 --- a/features/steps/shared/project.rb +++ b/features/steps/shared/project.rb @@ -204,6 +204,6 @@ module SharedProject step 'project "Shop" has CI build' do project = Project.find_by(name: "Shop") - create :ci_commit, project: project.gitlab_ci_project, sha: project.commit.sha + create :ci_commit, gl_project: project, sha: project.commit.sha end end |