diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-11-30 23:06:28 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-11-30 23:06:28 +0100 |
commit | bd6305d84311d507d21fb02eb585cedbfc4e874b (patch) | |
tree | 87c91e1d15e6b1cd56d639d3e40d44e508f7abd3 /features/steps/admin/labels.rb | |
parent | 2dfb66154d836d0ae2574e3d51bedda6601b639e (diff) | |
download | gitlab-ce-ui-stuff.tar.gz |
Fix specsui-stuff
Diffstat (limited to 'features/steps/admin/labels.rb')
-rw-r--r-- | features/steps/admin/labels.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/features/steps/admin/labels.rb b/features/steps/admin/labels.rb index b45d98658bc..2ea5dffdc66 100644 --- a/features/steps/admin/labels.rb +++ b/features/steps/admin/labels.rb @@ -17,7 +17,7 @@ class Spinach::Features::AdminIssuesLabels < Spinach::FeatureSteps step 'I remove label \'bug\'' do page.within "#label_#{bug_label.id}" do - click_link 'Remove' + click_link 'Delete' end end @@ -45,21 +45,21 @@ class Spinach::Features::AdminIssuesLabels < Spinach::FeatureSteps step 'I submit new label \'support\'' do visit new_admin_label_path fill_in 'Title', with: 'support' - fill_in 'Background Color', with: '#F95610' + fill_in 'Background color', with: '#F95610' click_button 'Save' end step 'I submit new label \'bug\'' do visit new_admin_label_path fill_in 'Title', with: 'bug' - fill_in 'Background Color', with: '#F95610' + fill_in 'Background color', with: '#F95610' click_button 'Save' end step 'I submit new label with invalid color' do visit new_admin_label_path fill_in 'Title', with: 'support' - fill_in 'Background Color', with: '#12' + fill_in 'Background color', with: '#12' click_button 'Save' end @@ -101,7 +101,7 @@ class Spinach::Features::AdminIssuesLabels < Spinach::FeatureSteps step 'I change label \'bug\' to \'fix\'' do fill_in 'Title', with: 'fix' - fill_in 'Background Color', with: '#F15610' + fill_in 'Background color', with: '#F15610' click_button 'Save' end |