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
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-27 21:04:29 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-27 21:04:29 +0400
commitd55ade16861d0700e302f50945560e8570eddcd7 (patch)
treec060eeebda2144cb47e4d56eb271724fddd9856a /spec/routing
parent5f14a6bcf8ca5ec4325bae401069c3a03a617bd0 (diff)
notification scaffold
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/notifications_routing_spec.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/spec/routing/notifications_routing_spec.rb b/spec/routing/notifications_routing_spec.rb
new file mode 100644
index 00000000000..6880d2819d1
--- /dev/null
+++ b/spec/routing/notifications_routing_spec.rb
@@ -0,0 +1,13 @@
+require "spec_helper"
+
+describe NotificationsController do
+ describe "routing" do
+ it "routes to #show" do
+ get("/profile/notifications").should route_to("notifications#show")
+ end
+
+ it "routes to #update" do
+ put("/profile/notifications").should route_to("notifications#update")
+ end
+ end
+end