summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-20 17:42:45 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-20 17:42:45 +0900
commit2b8c46fe1dedd1687e1871a8b4a9892ee0ca070f (patch)
tree398040594805eff1d09f8e9040c887fd46f70f02
parentacaf13d6f32157716c0d6a9b1d475c042881895c (diff)
downloadgitlab-ce-20817-please-add-coordinator-url-to-admin-area-runner-page.tar.gz
-rw-r--r--app/views/ci/runner/_how_to_setup_runner.html.haml4
-rw-r--r--spec/features/admin/admin_runners_spec.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/ci/runner/_how_to_setup_runner.html.haml b/app/views/ci/runner/_how_to_setup_runner.html.haml
index b4faeafdc89..b75dab0acc5 100644
--- a/app/views/ci/runner/_how_to_setup_runner.html.haml
+++ b/app/views/ci/runner/_how_to_setup_runner.html.haml
@@ -9,8 +9,8 @@
%li
= _("Specify the following URL during the Runner setup:")
%code= root_url(only_path: false)
- %li#registration_token
+ %li
= _("Use the following registration token during setup:")
- %code= registration_token
+ %code#registration_token= registration_token
%li
= _("Start the Runner!")
diff --git a/spec/features/admin/admin_runners_spec.rb b/spec/features/admin/admin_runners_spec.rb
index 716028db513..46bab3763cc 100644
--- a/spec/features/admin/admin_runners_spec.rb
+++ b/spec/features/admin/admin_runners_spec.rb
@@ -167,7 +167,7 @@ describe "Admin Runners" do
end
describe 'reload registration token' do
- let(:page_token) { find('#registration_token code').text }
+ let(:page_token) { find('#registration_token').text }
before do
click_button 'Reset runners registration token'