summaryrefslogtreecommitdiff
path: root/spec/services/create_project_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/create_project_service_spec.rb')
-rw-r--r--spec/services/create_project_service_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/services/create_project_service_spec.rb b/spec/services/create_project_service_spec.rb
index 7520e24..140f44e 100644
--- a/spec/services/create_project_service_spec.rb
+++ b/spec/services/create_project_service_spec.rb
@@ -17,7 +17,8 @@ describe 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