debian-mirror-gitlab/spec/routing/notifications_routing_spec.rb
2017-08-17 22:00:37 +05:30

11 lines
302 B
Ruby

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