summaryrefslogtreecommitdiff
path: root/spec/controllers
diff options
context:
space:
mode:
authorConnor Shea <connor.james.shea@gmail.com>2016-07-19 11:17:14 -0600
committerConnor Shea <connor.james.shea@gmail.com>2016-07-19 11:17:14 -0600
commit16a8160e9f1cc2874a39dfd2d6a6abea9bcfead5 (patch)
treeec308b39932cfaf6bee3c61b0a6cb4ba61833c42 /spec/controllers
parent81e57e783e8882de21d27d9191c09404ed7faca3 (diff)
downloadgitlab-ce-16a8160e9f1cc2874a39dfd2d6a6abea9bcfead5.tar.gz
Fix help page paths to make sure shortcuts and the UI help page work.fix-help-paths
Add a test to make sure the help page UI path doesn't break in the future. Fix #19972 and #19889.
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/help_controller_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/controllers/help_controller_spec.rb b/spec/controllers/help_controller_spec.rb
index 267d511c2db..347bef1e129 100644
--- a/spec/controllers/help_controller_spec.rb
+++ b/spec/controllers/help_controller_spec.rb
@@ -63,4 +63,13 @@ describe HelpController do
end
end
end
+
+ describe 'GET #ui' do
+ context 'for UI Development Kit' do
+ it 'renders found' do
+ get :ui
+ expect(response).to have_http_status(200)
+ end
+ end
+ end
end