summaryrefslogtreecommitdiff
path: root/spec/features/admin
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-07-20 15:14:22 +0900
committerShinya Maeda <shinya@gitlab.com>2017-07-20 15:14:22 +0900
commitacaf13d6f32157716c0d6a9b1d475c042881895c (patch)
treebf4fe5084c4c0165484f64201fdabb38d5f507d5 /spec/features/admin
parent03c72d71bb20a45b13d694d3c966afdc488b0a37 (diff)
downloadgitlab-ce-acaf13d6f32157716c0d6a9b1d475c042881895c.tar.gz
Add an id for the tag(#registration_token). Wrap long lines.
Diffstat (limited to 'spec/features/admin')
-rw-r--r--spec/features/admin/admin_runners_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/admin/admin_runners_spec.rb b/spec/features/admin/admin_runners_spec.rb
index a945995e226..716028db513 100644
--- a/spec/features/admin/admin_runners_spec.rb
+++ b/spec/features/admin/admin_runners_spec.rb
@@ -163,11 +163,11 @@ describe "Admin Runners" do
end
it 'has a registration token' do
- expect(page.find('.help-callout li:nth-of-type(3)')).to have_content(token)
+ expect(page.find('#registration_token')).to have_content(token)
end
describe 'reload registration token' do
- let(:page_token) { find('.help-callout li:nth-of-type(3) code').text }
+ let(:page_token) { find('#registration_token code').text }
before do
click_button 'Reset runners registration token'