gitlab-org--gitlab-foss/spec/routing/notifications_routing_spec.rb
2013-06-24 18:24:14 +03:00

13 lines
346 B
Ruby

require "spec_helper"
describe Profiles::NotificationsController do
describe "routing" do
it "routes to #show" do
get("/profile/notifications").should route_to("profiles/notifications#show")
end
it "routes to #update" do
put("/profile/notifications").should route_to("profiles/notifications#update")
end
end
end