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
path: root/spec
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-27 15:20:23 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-01-27 15:20:23 +0400
commit7175b6a7695cf5c14185deccb8850d988f0dba95 (patch)
tree898d5c9f193bf7e2281d65297bc4bfe5d0c156ea /spec
parent070f49fdc550654e538977f4fe6ce4a609521696 (diff)
Fixed dashboard show specs
Diffstat (limited to 'spec')
-rw-r--r--spec/requests/atom/dashboard_issues_spec.rb2
-rw-r--r--spec/routing/routing_spec.rb8
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/requests/atom/dashboard_issues_spec.rb b/spec/requests/atom/dashboard_issues_spec.rb
index 8ce64cd4c14..6f5d51d16b6 100644
--- a/spec/requests/atom/dashboard_issues_spec.rb
+++ b/spec/requests/atom/dashboard_issues_spec.rb
@@ -10,7 +10,7 @@ describe "Dashboard Issues Feed" do
describe "atom feed" do
it "should render atom feed via private token" do
- visit dashboard_issues_path(:atom, private_token: user.private_token)
+ visit issues_dashboard_path(:atom, private_token: user.private_token)
page.response_headers['Content-Type'].should have_content("application/atom+xml")
page.body.should have_selector("title", text: "#{user.name} issues")
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index 57fd70e7497..5ad8165ecce 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -146,14 +146,14 @@ describe KeysController, "routing" do
end
end
-# dashboard GET /dashboard(.:format) dashboard#index
+# dashboard GET /dashboard(.:format) dashboard#show
# dashboard_issues GET /dashboard/issues(.:format) dashboard#issues
# dashboard_merge_requests GET /dashboard/merge_requests(.:format) dashboard#merge_requests
-# root / dashboard#index
+# root / dashboard#show
describe DashboardController, "routing" do
it "to #index" do
- get("/dashboard").should route_to('dashboard#index')
- get("/").should route_to('dashboard#index')
+ get("/dashboard").should route_to('dashboard#show')
+ get("/").should route_to('dashboard#show')
end
it "to #issues" do