Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-07-05 15:52:20 +0300
committerPhil Hughes <me@iamphill.com>2016-07-20 10:42:59 +0300
commit26055b16b58afd73e31f7aaacb9aaa79ba3794c2 (patch)
tree605cad3fddd4c8e8acafc9563e84eb0e95e02b74 /spec/features/projects/files/project_owner_creates_license_file_spec.rb
parent79b02e40e5842540ceff4454f6c2c51f13fc081c (diff)
Highlight empty lines
Closes #19484
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.rb4
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 e1e105e6bbe..26f8a8fab2f 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}")
@@ -46,7 +46,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}")