gitlab-org--gitlab-foss/spec/routing/notifications_routing_spec.rb

14 lines
346 B
Ruby
Raw Normal View History

2013-03-27 13:04:29 -04:00
require "spec_helper"
describe Profiles::NotificationsController do
2013-03-27 13:04:29 -04:00
describe "routing" do
it "routes to #show" do
get("/profile/notifications").should route_to("profiles/notifications#show")
2013-03-27 13:04:29 -04:00
end
it "routes to #update" do
put("/profile/notifications").should route_to("profiles/notifications#update")
2013-03-27 13:04:29 -04:00
end
end
end