diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-09-15 15:51:03 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-09-15 15:51:03 +0300 |
commit | e2cbb36ba9751021174fd188d1c29e736f7b5d3d (patch) | |
tree | 3515122e7480e80b68c7d527d6cc88529148dfae /spec/requests/ci/api/triggers_spec.rb | |
parent | 16ba41a186d5ff393f7d1e3ac1b94fba485aad12 (diff) |
fix specs. Stage 5
Diffstat (limited to 'spec/requests/ci/api/triggers_spec.rb')
-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 97847bec2af..ff6fdbdd6f1 100644 --- a/spec/requests/ci/api/triggers_spec.rb +++ b/spec/requests/ci/api/triggers_spec.rb @@ -8,11 +8,11 @@ describe Ci::API::API do let!(:project) { FactoryGirl.create(:ci_project) } let!(:project2) { FactoryGirl.create(:ci_project) } let!(:trigger) { FactoryGirl.create(:ci_trigger, project: project, token: trigger_token) } - let(:options) { + let(:options) do { token: trigger_token } - } + end context 'Handles errors' do it 'should return bad request if token is missing' do |