summaryrefslogtreecommitdiff
path: root/spec/routing
diff options
context:
space:
mode:
authorRubén Dávila <rdavila84@gmail.com>2016-01-11 21:50:02 -0500
committerRubén Dávila <rdavila84@gmail.com>2016-01-20 00:14:58 -0500
commite4d26966912265b356bca8c9a987956200c24605 (patch)
treef1e0f6d72b3b6ef2003fbb0b3d9cf5a8fce89183 /spec/routing
parentf0b7dcba30c9041c5d004ee8fa4bbd7652125ed4 (diff)
downloadgitlab-ce-e4d26966912265b356bca8c9a987956200c24605.tar.gz
Fix broken specs. #2406
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/project_routing_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/routing/project_routing_spec.rb b/spec/routing/project_routing_spec.rb
index 22ba25217f0..22937226fce 100644
--- a/spec/routing/project_routing_spec.rb
+++ b/spec/routing/project_routing_spec.rb
@@ -496,11 +496,11 @@ end
describe Projects::ForksController, 'routing' do
it 'to #new' do
- expect(get('/gitlab/gitlabhq/fork/new')).to route_to('projects/forks#new', namespace_id: 'gitlab', project_id: 'gitlabhq')
+ expect(get('/gitlab/gitlabhq/forks/new')).to route_to('projects/forks#new', namespace_id: 'gitlab', project_id: 'gitlabhq')
end
it 'to #create' do
- expect(post('/gitlab/gitlabhq/fork')).to route_to('projects/forks#create', namespace_id: 'gitlab', project_id: 'gitlabhq')
+ expect(post('/gitlab/gitlabhq/forks')).to route_to('projects/forks#create', namespace_id: 'gitlab', project_id: 'gitlabhq')
end
end