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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-31 16:39:44 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-07-31 16:39:44 +0400
commitf4845d6b7c397ac04aa36dd8122fe4627483a29b (patch)
tree74d3709d97593fcb691ce98c508c8068cd940415 /features/steps/project/project.rb
parent43d570e0ce74d70f046edd84b5c104956eee859c (diff)
Uncomment change branch test
Diffstat (limited to 'features/steps/project/project.rb')
-rw-r--r--features/steps/project/project.rb10
1 files changed, 4 insertions, 6 deletions
diff --git a/features/steps/project/project.rb b/features/steps/project/project.rb
index b6968152aaf..2ffa1a62978 100644
--- a/features/steps/project/project.rb
+++ b/features/steps/project/project.rb
@@ -33,18 +33,16 @@ class ProjectFeature < Spinach::FeatureSteps
step 'I should see project "Shop" version' do
within '.project-side' do
- page.should have_content "Version: 2.2.0"
+ page.should have_content "Version: 6.7.0.pre"
end
end
step 'change project default branch' do
- select 'stable', from: 'project_default_branch'
+ select 'fix', from: 'project_default_branch'
+ click_button 'Save changes'
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'
+ find(:css, 'select#project_default_branch').value.should == 'fix'
end
end