notifications_routing_spec.rb 302 Bytes
Newer Older
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
1 2
require "spec_helper"

Sean McGivern's avatar
Sean McGivern committed
3 4 5 6
describe "notifications routing" do
  it "routes to #show" do
    expect(get("/profile/notifications")).to route_to("profiles/notifications#show")
  end
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
7

Sean McGivern's avatar
Sean McGivern committed
8 9
  it "routes to #update" do
    expect(put("/profile/notifications")).to route_to("profiles/notifications#update")
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
10 11
  end
end