diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-01 21:04:11 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-01 21:04:11 +0400 |
commit | e6002bdaffc819ea3b743955315cf50eb804dbdb (patch) | |
tree | aa96a40822436bd9a33b88e8741376164320a8a7 /features/steps/group | |
parent | 591e094e0636c084f218d52f25c01d51f7d3ecf5 (diff) |
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.rb | 11 |
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 |