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

14 lines
333 B
Ruby
Raw Normal View History

# frozen_string_literal: true
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