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:
authorCarlos Paramio <hola@carlosparamio.com>2013-11-21 16:18:02 +0400
committerCarlos Paramio <hola@carlosparamio.com>2013-11-21 16:18:02 +0400
commit4db87f7c4bd46983c1aad8ed7cc7338ca7bbf72e (patch)
treeed2d258afa5b25bca4e7647a9b5f4ebb4ea6c115 /features
parent4525fc840547358a270671ff107c3e4967679442 (diff)
Integration with Assembla
Diffstat (limited to 'features')
-rw-r--r--features/project/service.feature6
-rw-r--r--features/steps/project/project_services.rb15
2 files changed, 21 insertions, 0 deletions
diff --git a/features/project/service.feature b/features/project/service.feature
index 4805d2befbe..f8684f3b3b7 100644
--- a/features/project/service.feature
+++ b/features/project/service.feature
@@ -30,3 +30,9 @@ Feature: Project Services
And I click Flowdock service link
And I fill Flowdock settings
Then I should see Flowdock service settings saved
+
+ Scenario: Activate Assembla service
+ When I visit project "Shop" services page
+ And I click Assembla service link
+ And I fill Assembla settings
+ Then I should see Assembla service settings saved \ No newline at end of file
diff --git a/features/steps/project/project_services.rb b/features/steps/project/project_services.rb
index 70eafc875d4..2f248090831 100644
--- a/features/steps/project/project_services.rb
+++ b/features/steps/project/project_services.rb
@@ -12,6 +12,7 @@ class ProjectServices < Spinach::FeatureSteps
page.should have_content 'Campfire'
page.should have_content 'Hipchat'
page.should have_content 'GitLab CI'
+ page.should have_content 'Assembla'
end
And 'I click gitlab-ci service link' do
@@ -72,4 +73,18 @@ class ProjectServices < Spinach::FeatureSteps
Then 'I should see Flowdock service settings saved' do
find_field('Token').value.should == 'verySecret'
end
+
+ And 'I click Assembla service link' do
+ click_link 'Assembla'
+ end
+
+ And 'I fill Assembla settings' do
+ check 'Active'
+ fill_in 'Token', with: 'verySecret'
+ click_button 'Save'
+ end
+
+ Then 'I should see Assembla service settings saved' do
+ find_field('Token').value.should == 'verySecret'
+ end
end