summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-13 18:47:46 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-10-13 18:47:46 +0300
commite261de255dfff71f5acc7d33f339a30a3cb32ab9 (patch)
tree4ca79cc4b78c50b732bf87564873e7d8c08a4565 /features
parent05fca6bfc2d045e7e144baec28a6596e618ecb4b (diff)
parent166c215a75b50ce62fd40297f52e366df7dc9103 (diff)
downloadgitlab-ce-e261de255dfff71f5acc7d33f339a30a3cb32ab9.tar.gz
Merge pull request #7942 from cirosantilli/commit-changes-uppercase
Make new and edit file submit more uniform
Diffstat (limited to 'features')
-rw-r--r--features/project/source/browse_files.feature4
-rw-r--r--features/steps/project/source/browse_files.rb4
2 files changed, 4 insertions, 4 deletions
diff --git a/features/project/source/browse_files.feature b/features/project/source/browse_files.feature
index 83f23f66e34..aca255b9444 100644
--- a/features/project/source/browse_files.feature
+++ b/features/project/source/browse_files.feature
@@ -30,7 +30,7 @@ Feature: Project Source Browse Files
And I edit code
And I fill the new file name
And I fill the commit message
- And I click on "Commit changes"
+ And I click on "Commit Changes"
Then I am redirected to the new file
And I should see its new content
@@ -46,7 +46,7 @@ Feature: Project Source Browse Files
And I click button "Edit"
And I edit code
And I fill the commit message
- And I click on "Commit changes"
+ And I click on "Commit Changes"
Then I am redirected to the ".gitignore"
And I should see its new content
diff --git a/features/steps/project/source/browse_files.rb b/features/steps/project/source/browse_files.rb
index 0642302e797..20f8f6c24ae 100644
--- a/features/steps/project/source/browse_files.rb
+++ b/features/steps/project/source/browse_files.rb
@@ -69,8 +69,8 @@ class Spinach::Features::ProjectSourceBrowseFiles < Spinach::FeatureSteps
click_link 'Diff'
end
- step 'I click on "Commit changes"' do
- click_button 'Commit changes'
+ step 'I click on "Commit Changes"' do
+ click_button 'Commit Changes'
end
step 'I click on "Remove"' do