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

14 lines
354 B
Ruby
Raw Normal View History

2014-09-02 18:07:02 +05:30
require "spec_helper"
describe Profiles::NotificationsController do
describe "routing" do
it "routes to #show" do
2015-04-26 12:48:37 +05:30
expect(get("/profile/notifications")).to route_to("profiles/notifications#show")
2014-09-02 18:07:02 +05:30
end
it "routes to #update" do
2015-04-26 12:48:37 +05:30
expect(put("/profile/notifications")).to route_to("profiles/notifications#update")
2014-09-02 18:07:02 +05:30
end
end
end