Commit 3e384886db91aa1ec5143ab795753db09c4044d3
1 parent
6d4b2ddc
Exists in
master
and in
27 other branches
BlocksTest: remove pagination tests for ArticleBlock
This feature was removed and the test was not updated. It makes no sense for an article block displaying a blog to display pagination links.
Showing
1 changed file
with
0 additions
and
11 deletions
Show diff stats
test/integration/blocks_test.rb
| @@ -42,15 +42,4 @@ class BlocksTest < ActionController::IntegrationTest | @@ -42,15 +42,4 @@ class BlocksTest < ActionController::IntegrationTest | ||
| 42 | assert_match(/Wasserstoffbombe/, @response.body) | 42 | assert_match(/Wasserstoffbombe/, @response.body) |
| 43 | end | 43 | end |
| 44 | 44 | ||
| 45 | - should 'link correctly in pagination' do | ||
| 46 | - block = blog_on_article_block_bootstrap | ||
| 47 | - p = block.owner | ||
| 48 | - b = block.article | ||
| 49 | - f = Folder.create!(:name => 'Folder1', :profile => p) | ||
| 50 | - b.parent = f | ||
| 51 | - b.save! | ||
| 52 | - get "/profile/#{block.owner.identifier}" | ||
| 53 | - assert_tag :tag => 'a', :attributes => { :href => "/#{p.identifier}/#{f.slug}/#{b.slug}?npage=2" } | ||
| 54 | - end | ||
| 55 | - | ||
| 56 | end | 45 | end |