@@ -950,7 +950,7 class IssuesControllerTest < ActionController::TestCase | |||
|
950 | 950 | assert_tag 'a', :attributes => {:href => '/issues/5'}, :content => /Next/ |
|
951 | 951 | |
|
952 | 952 | count = Issue.open.visible.count |
|
953 |
assert_tag 'span', :attributes => {:class => 'position'}, :content => "3 |
|
|
953 | assert_tag 'span', :attributes => {:class => 'position'}, :content => "3 of #{count}" | |
|
954 | 954 | end |
|
955 | 955 | |
|
956 | 956 | def test_show_should_display_prev_next_links_with_saved_query_in_session |
General Comments 0
You need to be logged in to leave comments.
Login now