notification scaffold
This commit is contained in:
parent
5f14a6bcf8
commit
d55ade1686
10 changed files with 119 additions and 7 deletions
13
spec/routing/notifications_routing_spec.rb
Normal file
13
spec/routing/notifications_routing_spec.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue