summaryrefslogtreecommitdiff
path: root/features/steps/group
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-01 19:04:11 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-01 19:04:11 +0200
commite6002bdaffc819ea3b743955315cf50eb804dbdb (patch)
treeaa96a40822436bd9a33b88e8741376164320a8a7 /features/steps/group
parent591e094e0636c084f218d52f25c01d51f7d3ecf5 (diff)
downloadgitlab-ce-e6002bdaffc819ea3b743955315cf50eb804dbdb.tar.gz
Ability to manage and remove group as owner outside of admin area
Diffstat (limited to 'features/steps/group')
-rw-r--r--features/steps/group/group.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/features/steps/group/group.rb b/features/steps/group/group.rb
index c6c6b4b5e5b..5cfa4756ac3 100644
--- a/features/steps/group/group.rb
+++ b/features/steps/group/group.rb
@@ -82,6 +82,17 @@ class Groups < Spinach::FeatureSteps
current_path.should == group_path(Group.last)
end
+ And 'I change group name' do
+ fill_in 'group_name', :with => 'new-name'
+ click_button "Save group"
+ end
+
+ Then 'I should see new group name' do
+ within ".navbar-gitlab" do
+ page.should have_content "group: new-name"
+ end
+ end
+
protected
def current_group