summaryrefslogtreecommitdiff
path: root/features/steps/project/services.rb
diff options
context:
space:
mode:
authorJeremy <jeremy.benoist@gmail.com>2014-07-29 17:41:55 +0200
committerJeremy <jeremy.benoist@gmail.com>2015-02-02 09:59:42 +0100
commitb4d9ceb26fc4bd9125cdbd6796a618415d8f6af7 (patch)
treeed9c2430731e411e67bb2dbe4679d30cfe3a5504 /features/steps/project/services.rb
parentc47328948b5fff218c68279260a57ab6b03e7423 (diff)
downloadgitlab-ce-b4d9ceb26fc4bd9125cdbd6796a618415d8f6af7.tar.gz
Add Asana service
Also add ability to render "service.help" in markdown
Diffstat (limited to 'features/steps/project/services.rb')
-rw-r--r--features/steps/project/services.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/features/steps/project/services.rb b/features/steps/project/services.rb
index 09e86447058..9e8b7cf1e89 100644
--- a/features/steps/project/services.rb
+++ b/features/steps/project/services.rb
@@ -16,6 +16,7 @@ class Spinach::Features::ProjectServices < Spinach::FeatureSteps
page.should have_content 'Pushover'
page.should have_content 'Atlassian Bamboo'
page.should have_content 'JetBrains TeamCity'
+ page.should have_content 'Asana'
end
step 'I click gitlab-ci service link' do
@@ -102,6 +103,20 @@ class Spinach::Features::ProjectServices < Spinach::FeatureSteps
find_field('Token').value.should == 'verySecret'
end
+ step 'I click Asana service link' do
+ click_link 'Asana'
+ end
+
+ step 'I fill Asana settings' do
+ check 'Active'
+ fill_in 'Api key', with: 'verySecret'
+ click_button 'Save'
+ end
+
+ step 'I should see Asana service settings saved' do
+ find_field('Api key').value.should == 'verySecret'
+ end
+
step 'I click email on push service link' do
click_link 'Emails on push'
end