diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-04-04 02:10:06 +0300 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-04-06 22:58:57 +0300 |
commit | eb2d6a6ed5736b7f4b5868636e4ba659118d0a40 (patch) | |
tree | 1253c8f501a710510f5b289be119dcf30da1e84f /spec/features/projects/files | |
parent | fc8ec9504a297890365593359695b384b78b6988 (diff) |
Fixed rspec tests
Diffstat (limited to 'spec/features/projects/files')
-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 6b281e6d21d..82b096c7cc9 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 @@ -53,7 +53,7 @@ feature 'project owner creates a license file', feature: true, js: true do expect(file_content).to have_content("Copyright (c) #{Time.now.year} #{project.namespace.human_name}") fill_in :commit_message, with: 'Add a LICENSE file', visible: true - click_button 'Commit Changes' + click_button 'Commit changes' expect(current_path).to eq( namespace_project_blob_path(project.namespace, project, 'master/LICENSE')) @@ -63,7 +63,7 @@ feature 'project owner creates a license file', feature: true, js: true do def select_template(template) page.within('.js-license-selector-wrap') do - click_button 'Apply a License template' + click_button 'Apply a kicense template' click_link template wait_for_ajax end |