diff options
Diffstat (limited to 'test/unit/helpers/groups_helper_test.rb')
-rw-r--r-- | test/unit/helpers/groups_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/helpers/groups_helper_test.rb b/test/unit/helpers/groups_helper_test.rb index 19a08134e..3492a0df1 100644 --- a/test/unit/helpers/groups_helper_test.rb +++ b/test/unit/helpers/groups_helper_test.rb @@ -35,8 +35,8 @@ class GroupsHelperTest < ActionView::TestCase group = Group.generate! result = render_principals_for_new_group_users(group, 3) - assert_select_in result, 'p.pagination' - assert_select_in result, 'span.current.page', :text => '1' + assert_select_in result, 'span.pagination' + assert_select_in result, 'span.pagination li.current span', :text => '1' assert_select_in result, 'a[href=?]', "/groups/#{group.id}/autocomplete_for_user.js?page=2", :text => '2' end end |