summaryrefslogtreecommitdiff
path: root/features/steps/project/project.rb
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/project/project.rb')
-rw-r--r--features/steps/project/project.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb
index 7c0b2509416..b6968152aaf 100644
--- a/features/steps/project/project.rb
+++ b/features/steps/project/project.rb
@@ -36,4 +36,15 @@ class ProjectFeature < Spinach::FeatureSteps
page.should have_content "Version: 2.2.0"
end
end
+
+ step 'change project default branch' do
+ select 'stable', from: 'project_default_branch'
+ end
+
+ step 'I should see project default branch changed' do
+ # TODO: Uncomment this when we can do real gitlab-shell calls
+ # from spinach tests. Right now gitlab-shell calls are stubbed so this test
+ # will not pass
+ # find(:css, 'select#project_default_branch').value.should == 'stable'
+ end
end