diff options
author | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2014-10-06 16:14:48 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dzaporozhets@gitlab.com> | 2014-10-06 16:14:48 +0000 |
commit | 70004f4ef6160e788e6a600b9da06608c8559aa2 (patch) | |
tree | 7ee7c7990126555f6edd0ba95bb8b5bf1927d029 /features | |
parent | 0fed1b587630ff98808c61881511ee7c077c3db6 (diff) | |
parent | eceef546d19c16d16772868a05e6769907442f83 (diff) | |
download | gitlab-ce-70004f4ef6160e788e6a600b9da06608c8559aa2.tar.gz |
Merge branch 'slack_integration' into 'master'
Slack integration
See merge request !1151
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 |