gitlabhq/spec/routing/notifications_routing_spec.rb

14 lines
318 B
Ruby
Raw Normal View History

2013-03-27 18:04:29 +01:00
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