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

12 lines
302 B
Ruby
Raw Normal View History

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