notification scaffold

This commit is contained in:
Dmitriy Zaporozhets 2013-03-27 19:04:29 +02:00
parent 5f14a6bcf8
commit d55ade1686
10 changed files with 119 additions and 7 deletions

View file

@ -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