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

14 lines
339 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"
2020-07-28 23:09:34 +05:30
RSpec.describe "notifications routing" do
2017-08-17 22:00:37 +05:30
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