summaryrefslogtreecommitdiff
path: root/features
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-19 15:40:06 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-19 15:40:06 +0100
commit298d05a5c3cc3c2f1daa4d77c45f9c90b53248df (patch)
tree0ae700b4b685ae9145e3c65a9cc379f1d9bdec6e /features
parentb1ccf99e87605216f7d5733d6a4ffb4530d4cfc9 (diff)
downloadgitlab-ce-298d05a5c3cc3c2f1daa4d77c45f9c90b53248df.tar.gz
Improve after feedback
Diffstat (limited to 'features')
-rw-r--r--features/project/service.feature6
-rw-r--r--features/steps/project/services.rb8
2 files changed, 7 insertions, 7 deletions
diff --git a/features/project/service.feature b/features/project/service.feature
index 3a7b8308524..892db48d785 100644
--- a/features/project/service.feature
+++ b/features/project/service.feature
@@ -39,9 +39,9 @@ Feature: Project Services
Scenario: Activate Slack service
When I visit project "Shop" services page
- And I click Slack service link
- And I fill Slack settings
- Then I should see Slack service settings saved
+ And I click Slack Notifications service link
+ And I fill Slack Notifications settings
+ Then I should see Slack Notifications service settings saved
Scenario: Activate Pushover service
When I visit project "Shop" services page
diff --git a/features/steps/project/services.rb b/features/steps/project/services.rb
index bd6466f3686..06a1afedbd9 100644
--- a/features/steps/project/services.rb
+++ b/features/steps/project/services.rb
@@ -137,17 +137,17 @@ class Spinach::Features::ProjectServices < Spinach::FeatureSteps
expect(find_field('Colorize messages').value).to eq '1'
end
- step 'I click Slack service link' do
- click_link 'Slack'
+ step 'I click Slack Notifications service link' do
+ click_link 'Slack Notifications'
end
- step 'I fill Slack settings' do
+ step 'I fill Slack Notifications settings' do
check 'Active'
fill_in 'Webhook', with: 'https://hooks.slack.com/services/SVRWFV0VVAR97N/B02R25XN3/ZBqu7xMupaEEICInN685'
click_button 'Save'
end
- step 'I should see Slack service settings saved' do
+ step 'I should see Slack Notifications service settings saved' do
expect(find_field('Webhook').value).to eq 'https://hooks.slack.com/services/SVRWFV0VVAR97N/B02R25XN3/ZBqu7xMupaEEICInN685'
end