Remove the temporary show=libs inspection view
The libs-section blacklist is confirmed safe; the review view has served its purpose.
This commit is contained in:
parent
a98398f7a1
commit
07be9eadcc
2 changed files with 0 additions and 17 deletions
|
|
@ -134,18 +134,6 @@ class PackagesControllerTest < ActionController::TestCase
|
|||
end
|
||||
end
|
||||
|
||||
test 'show=libs lists screenshot-bearing blacklist candidates only' do
|
||||
packages(:firefox).update_column(:section, 'libs')
|
||||
# vim has no screenshots in the fixtures - even in libs section it
|
||||
# must not appear
|
||||
packages(:vim).update_column(:section, 'libs')
|
||||
|
||||
get :grid, params: { show: 'libs' }
|
||||
assert_response :success
|
||||
assert_select 'div', text: 'firefox', count: 1
|
||||
assert_select 'div', text: 'vim', count: 0
|
||||
end
|
||||
|
||||
# test 'should get thumbnail for a package and a desired version' do
|
||||
# # get '/thumbnail-with-version/package-5/0.1'
|
||||
# get thumbnail_with_version_url('package-5', '0.1')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue