diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-09-21 22:35:29 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-09-21 22:35:29 +0300 |
commit | 2f88459297d9fe8a33f608bd924f0bd5ad40161b (patch) | |
tree | 9587f329baa0cc80e9f1db48e80fc6aebda117fd /spec/services/ci | |
parent | d4a960161eecf5730b56d3f375573fa39aa67e95 (diff) |
Ensure raise_error expectations provide arguments
Diffstat (limited to 'spec/services/ci')
-rw-r--r-- | spec/services/ci/create_project_service_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/services/ci/create_project_service_spec.rb b/spec/services/ci/create_project_service_spec.rb index c0af515aa8f..2de7b0deca7 100644 --- a/spec/services/ci/create_project_service_spec.rb +++ b/spec/services/ci/create_project_service_spec.rb @@ -15,7 +15,8 @@ describe Ci::CreateProjectService do context 'without project dump' do it 'should raise exception' do - expect { service.execute(current_user, '', '') }.to raise_error + expect { service.execute(current_user, '', '') }. + to raise_error(NoMethodError) end end |