Update to Rails 7.2
This commit is contained in:
parent
932a43daac
commit
25672aabb0
31 changed files with 836 additions and 435 deletions
|
|
@ -8,6 +8,13 @@ class PackagesControllerTest < ActionController::TestCase
|
|||
end
|
||||
|
||||
test "should get list view with_screenshots and find Firefox" do
|
||||
# package = Package.create!(name: 'firefox', description: 'A web browser.')
|
||||
# Screenshot.create!(package: package, approved: true, hidden: false)
|
||||
|
||||
# get :list, params: { show: 'with' }
|
||||
# assert_response :success
|
||||
# assert_select 'div', 'A web browser.'
|
||||
|
||||
get :list, params: { show: 'with' }
|
||||
assert_response :success
|
||||
assert_select 'div', 'A program to browse web sites.'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue