diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-27 19:04:29 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-27 19:04:29 +0200 |
commit | d55ade16861d0700e302f50945560e8570eddcd7 (patch) | |
tree | c060eeebda2144cb47e4d56eb271724fddd9856a /spec/routing | |
parent | 5f14a6bcf8ca5ec4325bae401069c3a03a617bd0 (diff) | |
download | gitlab-ce-d55ade16861d0700e302f50945560e8570eddcd7.tar.gz |
notification scaffold
Diffstat (limited to 'spec/routing')
-rw-r--r-- | spec/routing/notifications_routing_spec.rb | 13 |
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 |