summaryrefslogtreecommitdiff
path: root/spec/routing/notifications_routing_spec.rb
blob: 24592942a967e77b20d38dc6391550af2890239d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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