debian-mirror-gitlab/spec/routing/notifications_routing_spec.rb

12 lines
302 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
require "spec_helper"
2017-08-17 22:00:37 +05:30
describe "notifications routing" do
it "routes to #show" do
expect(get("/profile/notifications")).to route_to("profiles/notifications#show")
end
2014-09-02 18:07:02 +05:30
2017-08-17 22:00:37 +05:30
it "routes to #update" do
expect(put("/profile/notifications")).to route_to("profiles/notifications#update")
2014-09-02 18:07:02 +05:30
end
end