feature tests

This commit is contained in:
Dmitriy Zaporozhets 2013-01-27 15:41:35 +02:00
parent cd47e625f0
commit d24fd32aa5
3 changed files with 18 additions and 0 deletions

View file

@ -63,6 +63,12 @@ class Dashboard < Spinach::FeatureSteps
@project.team << [current_user, :master]
end
Then 'I should see projects list' do
@user.authorized_projects.all.each do |project|
page.should have_link project.name_with_namespace
end
end
Then 'I should see groups list' do
Group.all.each do |group|
page.should have_link group.name