More group tests with spinach

This commit is contained in:
randx 2012-10-22 21:42:06 +03:00
parent 83dc5f9362
commit 42abdf69d5
5 changed files with 98 additions and 4 deletions

View file

@ -5,6 +5,22 @@ module SharedPaths
visit new_project_path
end
# ----------------------------------------
# Group
# ----------------------------------------
When 'I visit group page' do
visit group_path(current_group)
end
When 'I visit group issues page' do
visit issues_group_path(current_group)
end
When 'I visit group merge requests page' do
visit merge_requests_group_path(current_group)
end
# ----------------------------------------
# Dashboard
# ----------------------------------------
@ -85,6 +101,10 @@ module SharedPaths
visit admin_resque_path
end
And 'I visit admin groups page' do
visit admin_groups_path
end
# ----------------------------------------
# Generic Project
# ----------------------------------------