diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-04-03 17:19:58 -0500 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-04-04 16:10:36 -0500 |
commit | 4b3737854bcc08484da1355c61696433b49fe51c (patch) | |
tree | 797e26074be25b8f2cc049588e9f463b26cac865 | |
parent | 347e57c43177e2fbda64c165b687f76d65807311 (diff) | |
download | gitlab-ce-dashboard-section-capitalization-fix.tar.gz |
Fixed rspec and spinach testsdashboard-section-capitalization-fix
-rw-r--r-- | features/steps/dashboard/new_project.rb | 4 | ||||
-rw-r--r-- | spec/features/dashboard/group_spec.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/features/steps/dashboard/new_project.rb b/features/steps/dashboard/new_project.rb index d4a04f693b8..4fb16d3bb57 100644 --- a/features/steps/dashboard/new_project.rb +++ b/features/steps/dashboard/new_project.rb @@ -3,9 +3,9 @@ class Spinach::Features::NewProject < Spinach::FeatureSteps include SharedPaths include SharedProject - step 'I click "New Project" link' do + step 'I click "New project" link' do page.within('.content') do - click_link "New Project" + click_link "New project" end end diff --git a/spec/features/dashboard/group_spec.rb b/spec/features/dashboard/group_spec.rb index d5f8470fab0..19f5d1b0f30 100644 --- a/spec/features/dashboard/group_spec.rb +++ b/spec/features/dashboard/group_spec.rb @@ -7,7 +7,7 @@ RSpec.describe 'Dashboard Group', feature: true do it 'creates new grpup' do visit dashboard_groups_path - click_link 'New Group' + click_link 'New group' fill_in 'group_path', with: 'Samurai' fill_in 'group_description', with: 'Tokugawa Shogunate' |