Ability to manage and remove group as owner outside of admin area

This commit is contained in:
Dmitriy Zaporozhets 2013-02-01 19:04:11 +02:00
parent 591e094e06
commit e6002bdaff
9 changed files with 117 additions and 8 deletions

View file

@ -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