diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2016-08-16 23:36:31 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2016-08-16 23:36:31 +0300 |
commit | 86a8409eaf651f84e253307120e31b711c9d6c28 (patch) | |
tree | 60da9a9f8d23b7f1ae9e86c064aaf22208a735cd /spec/features/projects/files/project_owner_creates_license_file_spec.rb | |
parent | f7e08ad0de580e9f27ad5301542f2913c6bb2bff (diff) | |
parent | cf33acb32b12cf482e0279043e8cd02131c456e6 (diff) |
Merge branch 'file-content-highlight-line' into 'master'
Highlight empty lines
## What does this MR do?
Rather than just highlight the text, file line highlighting now highlights the full line including empty lines
## What are the relevant issue numbers?
Closes #19484
## Screenshots (if relevant)
![Screen_Shot_2016-07-05_at_13.52.31](/uploads/d3bddc918d731681465381e96c0aa2b0/Screen_Shot_2016-07-05_at_13.52.31.png)
See merge request !5092
Diffstat (limited to 'spec/features/projects/files/project_owner_creates_license_file_spec.rb')
-rw-r--r-- | spec/features/projects/files/project_owner_creates_license_file_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/files/project_owner_creates_license_file_spec.rb b/spec/features/projects/files/project_owner_creates_license_file_spec.rb index dbd07464444..a521ce50f35 100644 --- a/spec/features/projects/files/project_owner_creates_license_file_spec.rb +++ b/spec/features/projects/files/project_owner_creates_license_file_spec.rb @@ -23,7 +23,7 @@ feature 'project owner creates a license file', feature: true, js: true do select_template('MIT License') - file_content = find('.file-content') + file_content = first('.file-editor') expect(file_content).to have_content('The MIT License (MIT)') expect(file_content).to have_content("Copyright (c) #{Time.now.year} #{project.namespace.human_name}") @@ -47,7 +47,7 @@ feature 'project owner creates a license file', feature: true, js: true do select_template('MIT License') - file_content = find('.file-content') + file_content = first('.file-editor') expect(file_content).to have_content('The MIT License (MIT)') expect(file_content).to have_content("Copyright (c) #{Time.now.year} #{project.namespace.human_name}") |