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

14 lines
333 B
Ruby
Raw Normal View History

2019-12-26 22:10:19 +05:30
# frozen_string_literal: true
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