diff options
Diffstat (limited to 'spec/features/search')
-rw-r--r-- | spec/features/search/user_searches_for_code_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/features/search/user_searches_for_code_spec.rb b/spec/features/search/user_searches_for_code_spec.rb index f55dccce4f0..ef7af0ba138 100644 --- a/spec/features/search/user_searches_for_code_spec.rb +++ b/spec/features/search/user_searches_for_code_spec.rb @@ -22,6 +22,7 @@ RSpec.describe 'User searches for code' do expect(page).to have_selector('.file-content .code') expect(page).to have_selector("span.line[lang='javascript']") expect(page).to have_link('application.js', href: %r{master/files/js/application.js}) + expect(page).to have_button('Copy file path') end context 'when on a project page', :js do |