summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-09-06 15:56:12 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2017-09-06 15:56:12 +0000
commit8a2aab447a6d5bb540d3c514f6aac41f5e47ee29 (patch)
tree00b54b1acf15dc152c43a47b04720ef74ac952e8 /spec/features
parentba39b26cc2f1ace540177c3b73d64d40b06bc902 (diff)
parentddf892b9f26138c0fd43bbfa3b5d602ed954f59b (diff)
downloadgitlab-ce-8a2aab447a6d5bb540d3c514f6aac41f5e47ee29.tar.gz
Merge branch 'tc-test-admin-log-links' into 'master'
Put Admin loggers in before_action for easier overriding in EE See merge request !14081
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/admin/admin_browses_logs_spec.rb8
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/features/admin/admin_browses_logs_spec.rb b/spec/features/admin/admin_browses_logs_spec.rb
index 3e3404dfdac..02f50d7e27f 100644
--- a/spec/features/admin/admin_browses_logs_spec.rb
+++ b/spec/features/admin/admin_browses_logs_spec.rb
@@ -8,8 +8,10 @@ describe 'Admin browses logs' do
it 'shows available log files' do
visit admin_logs_path
- expect(page).to have_content 'test.log'
- expect(page).to have_content 'githost.log'
- expect(page).to have_content 'application.log'
+ expect(page).to have_link 'application.log'
+ expect(page).to have_link 'githost.log'
+ expect(page).to have_link 'test.log'
+ expect(page).to have_link 'sidekiq.log'
+ expect(page).to have_link 'repocheck.log'
end
end