diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2014-10-03 16:24:11 +0200 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2014-10-06 10:44:01 +0200 |
commit | 20179772140ff0bdc2d61852c0a4f48ee6e4a2d0 (patch) | |
tree | 53bc3181dfa8ad8dcaf28b21bc99e3e228e6aca2 /features | |
parent | 86d5a63e5eed67637e8177082d224935dd10b8f9 (diff) | |
download | gitlab-ce-20179772140ff0bdc2d61852c0a4f48ee6e4a2d0.tar.gz |
Use only webhook for slack service integration.
Diffstat (limited to 'features')
-rw-r--r-- | features/steps/project/services.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/features/steps/project/services.rb b/features/steps/project/services.rb index d816fcafbaa..5bd60f99c84 100644 --- a/features/steps/project/services.rb +++ b/features/steps/project/services.rb @@ -108,16 +108,12 @@ class Spinach::Features::ProjectServices < Spinach::FeatureSteps step 'I fill Slack settings' do check 'Active' - fill_in 'Subdomain', with: 'gitlab' - fill_in 'Room', with: '#gitlab' - fill_in 'Token', with: 'verySecret' + fill_in 'Webhook', with: 'https://gitlabhq.slack.com/services/hooks?token=cdIj4r4LfXUOySDUjp0tk3OI' click_button 'Save' end step 'I should see Slack service settings saved' do - find_field('Subdomain').value.should == 'gitlab' - find_field('Room').value.should == '#gitlab' - find_field('Token').value.should == 'verySecret' + find_field('Webhook').value.should == 'https://gitlabhq.slack.com/services/hooks?token=cdIj4r4LfXUOySDUjp0tk3OI' end step 'I click Pushover service link' do |