BigW Consortium Gitlab

notifications_routing_spec.rb 354 Bytes
require "spec_helper"

describe Profiles::NotificationsController do
  describe "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
end