Update
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled

This commit is contained in:
2026-04-29 00:57:55 +01:00
parent 6f64e1a530
commit b66ee00361
8 changed files with 119 additions and 109 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
require "test_helper"
class MotorlotFlowTest < ActionDispatch::IntegrationTest
test "advert page renders puzzle listing" do
test "stock page renders puzzle listing" do
get root_path
assert_response :success
assert_includes response.body, "2021 Porsche 718 Cayman S"
assert_includes response.body, "JHDU"
assert_includes response.body, "VFVSQk8="
assert_includes response.body, "PDI-24-16"
assert_includes response.body, "INS-88-71"
end
test "admin unlock succeeds with the full password" do
@@ -19,7 +19,7 @@ class MotorlotFlowTest < ActionDispatch::IntegrationTest
assert_response :success
assert_includes response.body, "Admin Panel Unlocked"
assert_includes response.body, "Delete adverts"
assert_includes response.body, "Delete stock page"
end
test "admin unlock rejects invalid passwords" do