summaryrefslogtreecommitdiff
path: root/spec/routing/notifications_routing_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-27 19:04:29 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-27 19:04:29 +0200
commitd55ade16861d0700e302f50945560e8570eddcd7 (patch)
treec060eeebda2144cb47e4d56eb271724fddd9856a /spec/routing/notifications_routing_spec.rb
parent5f14a6bcf8ca5ec4325bae401069c3a03a617bd0 (diff)
downloadgitlab-ce-d55ade16861d0700e302f50945560e8570eddcd7.tar.gz
notification scaffold
Diffstat (limited to 'spec/routing/notifications_routing_spec.rb')
-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