Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-09-21 22:35:29 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-09-21 22:35:29 +0300
commit2f88459297d9fe8a33f608bd924f0bd5ad40161b (patch)
tree9587f329baa0cc80e9f1db48e80fc6aebda117fd /spec/services
parentd4a960161eecf5730b56d3f375573fa39aa67e95 (diff)
Ensure raise_error expectations provide arguments
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/ci/create_project_service_spec.rb3
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