提交 a0640600 编写于 作者: D Dmitriy Zaporozhets

Test admin:group#index

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册