diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-05 16:21:18 +0200 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2015-10-05 17:06:31 +0200 |
commit | 97a11136d3e7d7ed57c7571d296d7b50617dce16 (patch) | |
tree | 8b4793d598329d7706ae7b916214c383eb04a6b4 /spec/requests/ci | |
parent | 517815f40f8c88e543279e259d0b983e70c5a49e (diff) | |
download | gitlab-ce-97a11136d3e7d7ed57c7571d296d7b50617dce16.tar.gz |
Fix create_trigger_request_service_specrefactor-build-service
Diffstat (limited to 'spec/requests/ci')
-rw-r--r-- | spec/requests/ci/api/triggers_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/requests/ci/api/triggers_spec.rb b/spec/requests/ci/api/triggers_spec.rb index c98a74dcc2c..93617fc4b3f 100644 --- a/spec/requests/ci/api/triggers_spec.rb +++ b/spec/requests/ci/api/triggers_spec.rb @@ -5,8 +5,8 @@ describe Ci::API::API do describe 'POST /projects/:project_id/refs/:ref/trigger' do let!(:trigger_token) { 'secure token' } - let!(:project) { FactoryGirl.create(:ci_project) } - let!(:gl_project) { FactoryGirl.create(:project, gitlab_ci_project: project) } + let!(:gl_project) { FactoryGirl.create(:project) } + let!(:project) { FactoryGirl.create(:ci_project, gl_project: gl_project) } let!(:project2) { FactoryGirl.create(:ci_project) } let!(:trigger) { FactoryGirl.create(:ci_trigger, project: project, token: trigger_token) } let(:options) do |