Commit a0640600 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Test admin:group#index

parent 112e9198
......@@ -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
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment