diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-08 12:09:33 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-08 12:09:33 +0000 |
commit | c52b72f5772d52e9fc85bd9f4e8b8497a6278c37 (patch) | |
tree | bbe0504b4c07a93e24db4a72785a847b2540eef8 /spec/routing/project_routing_spec.rb | |
parent | 21341457a8c422d890a9ec30838b597dea565d62 (diff) | |
download | gitlab-ce-c52b72f5772d52e9fc85bd9f4e8b8497a6278c37.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/routing/project_routing_spec.rb')
-rw-r--r-- | spec/routing/project_routing_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb index 07c1c33ecb5..147151a6bb0 100644 --- a/spec/routing/project_routing_spec.rb +++ b/spec/routing/project_routing_spec.rb @@ -77,6 +77,10 @@ RSpec.describe 'project routing' do # DELETE /:id(.:format) projects#destroy # preview_markdown_project POST /:id/preview_markdown(.:format) projects#preview_markdown describe ProjectsController, 'routing' do + it 'to #index' do + expect(get('/projects')).to route_to('projects#index') + end + it 'to #create' do expect(post('/projects')).to route_to('projects#create') end |