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:
authorJeremy <jeremy.benoist@gmail.com>2015-01-16 14:49:50 +0300
committerJeremy <jeremy.benoist@gmail.com>2015-02-02 11:59:42 +0300
commit3cd1eda5a4f8e4ac95ebab558e8965724481dd97 (patch)
treecf8ada727c7356d5620d4f305ec6f756a8b953e5 /features
parentb4d9ceb26fc4bd9125cdbd6796a618415d8f6af7 (diff)
Add restrict_to_branch to service controller
And add restrict_to_branch to spec
Diffstat (limited to 'features')
-rw-r--r--features/steps/project/services.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/features/steps/project/services.rb b/features/steps/project/services.rb
index 9e8b7cf1e89..957a16d06a8 100644
--- a/features/steps/project/services.rb
+++ b/features/steps/project/services.rb
@@ -110,11 +110,13 @@ class Spinach::Features::ProjectServices < Spinach::FeatureSteps
step 'I fill Asana settings' do
check 'Active'
fill_in 'Api key', with: 'verySecret'
+ fill_in 'Restrict to branch', with: 'master'
click_button 'Save'
end
step 'I should see Asana service settings saved' do
find_field('Api key').value.should == 'verySecret'
+ find_field('Restrict to branch').value.should == 'master'
end
step 'I click email on push service link' do