diff options
author | Steven Sloan <stevenosloan@gmail.com> | 2014-10-23 22:47:28 +0400 |
---|---|---|
committer | Steven Sloan <stevenosloan@gmail.com> | 2014-10-23 22:47:28 +0400 |
commit | 7b339e61e8e4a93798807f3c90bf7179a0ecd28b (patch) | |
tree | 5ef7aecca3959eb8c097fea5815bf65bc26179e7 /features/steps/project/services.rb | |
parent | c6efa56ee7039882625942ce29ea9fdeeffaa6cd (diff) |
update slack-notifier to 1.0.0, use raw webhook_url per slack recommendation
per changes with slack, they’re now using “static” web hook urls that describe the team & service with IDs that don’t change if the team or service name change. their recommendation is to use the raw webhook_url instead of building it out of components to allow more flexibility
this should also prevent issues cropping up with mistakes in how the urls are parsed
Diffstat (limited to 'features/steps/project/services.rb')
-rw-r--r-- | features/steps/project/services.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/steps/project/services.rb b/features/steps/project/services.rb index 5bd60f99c84..aaa7d8261e0 100644 --- a/features/steps/project/services.rb +++ b/features/steps/project/services.rb @@ -108,12 +108,12 @@ class Spinach::Features::ProjectServices < Spinach::FeatureSteps step 'I fill Slack settings' do check 'Active' - fill_in 'Webhook', with: 'https://gitlabhq.slack.com/services/hooks?token=cdIj4r4LfXUOySDUjp0tk3OI' + 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 - find_field('Webhook').value.should == 'https://gitlabhq.slack.com/services/hooks?token=cdIj4r4LfXUOySDUjp0tk3OI' + find_field('Webhook').value.should == 'https://hooks.slack.com/services/SVRWFV0VVAR97N/B02R25XN3/ZBqu7xMupaEEICInN685' end step 'I click Pushover service link' do |