Skip to content
Snippets Groups Projects
Commit a0640600 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Test admin:group#index

parent 112e9198
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -5,6 +5,9 @@ Feature: Admin Groups
And Create gitlab user "John"
And I visit admin groups page
 
Scenario: See group list
Then I should be all groups
Scenario: Create a group
When I click new group link
And submit form with new group info
Loading
Loading
Loading
Loading
@@ -55,6 +55,12 @@ class AdminGroups < Spinach::FeatureSteps
end
end
 
step 'I should be all groups' do
Group.all.each do |group|
page.should have_content group.name
end
end
protected
 
def current_group
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment