summaryrefslogtreecommitdiff
path: root/spec/routing
diff options
context:
space:
mode:
authorAlexis Reigel <mail@koffeinfrei.org>2017-05-23 17:02:05 +0200
committerAlexis Reigel <mail@koffeinfrei.org>2017-05-24 22:29:59 +0200
commit6dc2ade49ccc45c29c3fe05d6ccc4811fd198aea (patch)
tree0e7d46e22e4422065ba555b35c4fdd6f0ae96d1c /spec/routing
parent30141169eca70e099c77da066cb51731bfa54ff6 (diff)
downloadgitlab-ce-6dc2ade49ccc45c29c3fe05d6ccc4811fd198aea.tar.gz
user can reset his rss token on the account page
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/routing_spec.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index abacc50a371..a62af13cf0c 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -151,6 +151,10 @@ describe ProfilesController, "routing" do
expect(put("/profile/reset_private_token")).to route_to('profiles#reset_private_token')
end
+ it "to #reset_rss_token" do
+ expect(put("/profile/reset_rss_token")).to route_to('profiles#reset_rss_token')
+ end
+
it "to #show" do
expect(get("/profile")).to route_to('profiles#show')
end