summaryrefslogtreecommitdiff
path: root/spec/routing
diff options
context:
space:
mode:
authorDrew Blessing <drew.blessing@buckle.com>2013-12-02 12:03:07 -0600
committerDrew Blessing <drew.blessing@buckle.com>2013-12-02 16:20:34 -0600
commitb08608b261f8c9c552d8957b6231c7725b9529ac (patch)
tree566e2ba56ae1ed23305ea5e897f859e8e782a29b /spec/routing
parente411f3bab2c20ba22b838bb025fa33e980470d20 (diff)
downloadgitlab-ce-b08608b261f8c9c552d8957b6231c7725b9529ac.tar.gz
Issue 5716 - Allow removal of avatar
Add class and style Add spinach tests Add entry to CHANGELOG Add entry to CHANGELOG
Diffstat (limited to 'spec/routing')
-rw-r--r--spec/routing/routing_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/routing/routing_spec.rb b/spec/routing/routing_spec.rb
index 1b1d19d26b1..1af052d8739 100644
--- a/spec/routing/routing_spec.rb
+++ b/spec/routing/routing_spec.rb
@@ -185,6 +185,13 @@ describe Profiles::KeysController, "routing" do
end
end
+# profile_avatar DELETE /profile/avatar(.:format) profiles/avatars#destroy
+describe Profiles::AvatarsController, "routing" do
+ it "to #destroy" do
+ delete("/profile/avatar").should route_to('profiles/avatars#destroy')
+ end
+end
+
# dashboard GET /dashboard(.:format) dashboard#show
# dashboard_issues GET /dashboard/issues(.:format) dashboard#issues
# dashboard_merge_requests GET /dashboard/merge_requests(.:format) dashboard#merge_requests