summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-12-03 18:32:29 +0100
committerDouwe Maan <douwe@gitlab.com>2015-12-03 18:32:29 +0100
commit0cbb7717df8d243d7812041099d99f731de7f82b (patch)
treed4b08e1ecb3a073bb7ed730b38e18b168d62908c /features
parent90899b3208035f5c74feb439da5fbe689dd1d2d7 (diff)
downloadgitlab-ce-0cbb7717df8d243d7812041099d99f731de7f82b.tar.gz
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/issues/labels.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/features/steps/project/issues/labels.rb b/features/steps/project/issues/labels.rb
index f749ea2eca8..e273bb391b3 100644
--- a/features/steps/project/issues/labels.rb
+++ b/features/steps/project/issues/labels.rb
@@ -32,19 +32,19 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
step 'I submit new label \'support\'' do
fill_in 'Title', with: 'support'
fill_in 'Background color', with: '#F95610'
- click_button 'Save'
+ click_button 'Create Label'
end
step 'I submit new label \'bug\'' do
fill_in 'Title', with: 'bug'
fill_in 'Background color', with: '#F95610'
- click_button 'Save'
+ click_button 'Create Label'
end
step 'I submit new label with invalid color' do
fill_in 'Title', with: 'support'
fill_in 'Background color', with: '#12'
- click_button 'Save'
+ click_button 'Create Label'
end
step 'I should see label label exist error message' do
@@ -86,7 +86,7 @@ class Spinach::Features::ProjectIssuesLabels < Spinach::FeatureSteps
step 'I change label \'bug\' to \'fix\'' do
fill_in 'Title', with: 'fix'
fill_in 'Background color', with: '#F15610'
- click_button 'Save'
+ click_button 'Save changes'
end
step 'I should see label \'fix\'' do