diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-06-02 21:32:37 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-06-03 14:58:31 +0300 |
commit | a29ba51eeac6c7281b2fe81e655be946842045c0 (patch) | |
tree | e87950450aeea6ecc41b754f2c7ea638e4d2dc3d /spec/controllers | |
parent | b2f997e40520d9a4996f00f1c3ef5b9a8f1c7f80 (diff) |
Fix test failures
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/projects/jobs_controller_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/projects/jobs_controller_spec.rb b/spec/controllers/projects/jobs_controller_spec.rb index 068c4ddf820..7211acc53dc 100644 --- a/spec/controllers/projects/jobs_controller_spec.rb +++ b/spec/controllers/projects/jobs_controller_spec.rb @@ -142,8 +142,8 @@ describe Projects::JobsController do expect(response).to have_http_status(:ok) expect(json_response['raw_path']).to match(/builds\/\d+\/raw\z/) expect(json_response.dig('merge_request', 'path')).to match(/merge_requests\/\d+\z/) - expect(json_response['build_failed_options']['new_issue_path']) - .to end_with('/issues/new') + expect(json_response['new_issue_path']) + .to include('/issues/new') end end |