diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-26 16:09:17 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-26 16:09:17 +0400 |
commit | a064060096aa99403f626544acaa307dea709e2d (patch) | |
tree | b33b3f62774dc24314c5bbc38356f5ecd4870469 /features/steps/admin | |
parent | 112e919823a3286fe7224b01ee3cd87b48c66304 (diff) |
Test admin:group#index
Diffstat (limited to 'features/steps/admin')
-rw-r--r-- | features/steps/admin/admin_groups.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/features/steps/admin/admin_groups.rb b/features/steps/admin/admin_groups.rb index c463d379d78..b4591f227e3 100644 --- a/features/steps/admin/admin_groups.rb +++ b/features/steps/admin/admin_groups.rb @@ -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 |