diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-08 15:14:14 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-08 15:14:14 +0100 |
commit | 1489d225d6763b0fdc3f418692e646587e06938a (patch) | |
tree | ebc241ea14adb58c8443c0b4aac28cda43cecb2b /spec/routing | |
parent | 5d785457db3017a17722314a52433543dd925164 (diff) | |
download | gitlab-ce-1489d225d6763b0fdc3f418692e646587e06938a.tar.gz |
Move partial to right place and fix tests.
Diffstat (limited to 'spec/routing')
-rw-r--r-- | spec/routing/routing_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb index dd045826692..dfa18f69e05 100644 --- a/spec/routing/routing_spec.rb +++ b/spec/routing/routing_spec.rb @@ -206,7 +206,7 @@ end # dashboard_merge_requests GET /dashboard/merge_requests(.:format) dashboard#merge_requests describe DashboardController, "routing" do it "to #index" do - expect(get("/dashboard")).to route_to('dashboard#show') + expect(get("/dashboard")).to route_to('dashboard/projects#index') end it "to #issues" do @@ -220,8 +220,8 @@ end # root / root#show describe RootController, 'routing' do - it 'to #show' do - expect(get('/')).to route_to('root#show') + it 'to #index' do + expect(get('/')).to route_to('root#index') end end |