Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-12-20 00:12:30 +0300
committerKamil Trzcinski <ayufan@ayufan.eu>2016-12-20 00:12:30 +0300
commite06f88effa842c73d3827593f8d28846207bfca0 (patch)
tree36071dc6ca49d9b46f88611071a3088b61b70a7e /features
parent298d05a5c3cc3c2f1daa4d77c45f9c90b53248df (diff)
Fix specs
Diffstat (limited to 'features')
-rw-r--r--features/project/service.feature6
-rw-r--r--features/steps/project/services.rb6
2 files changed, 6 insertions, 6 deletions
diff --git a/features/project/service.feature b/features/project/service.feature
index 892db48d785..cce5f58adec 100644
--- a/features/project/service.feature
+++ b/features/project/service.feature
@@ -37,10 +37,10 @@ Feature: Project Services
And I fill Assembla settings
Then I should see Assembla service settings saved
- Scenario: Activate Slack service
+ Scenario: Activate Slack notifications service
When I visit project "Shop" services page
- And I click Slack Notifications service link
- And I fill Slack Notifications settings
+ 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
diff --git a/features/steps/project/services.rb b/features/steps/project/services.rb
index 06a1afedbd9..a4d29770922 100644
--- a/features/steps/project/services.rb
+++ b/features/steps/project/services.rb
@@ -137,11 +137,11 @@ class Spinach::Features::ProjectServices < Spinach::FeatureSteps
expect(find_field('Colorize messages').value).to eq '1'
end
- step 'I click Slack Notifications service link' do
- click_link 'Slack Notifications'
+ step 'I click Slack notifications service link' do
+ click_link 'Slack notifications'
end
- step 'I fill Slack Notifications 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'