debian-mirror-gitlab/spec/routing/notifications_routing_spec.rb
2020-08-09 17:44:08 +05:30

14 lines
339 B
Ruby

# frozen_string_literal: true
require "spec_helper"
RSpec.describe "notifications routing" do
it "routes to #show" do
expect(get("/profile/notifications")).to route_to("profiles/notifications#show")
end
it "routes to #update" do
expect(put("/profile/notifications")).to route_to("profiles/notifications#update")
end
end