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