1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-20 14:54:15 +01:00

fix create plan test

This commit is contained in:
Du Peng 2022-05-23 16:15:49 +02:00
parent 532a896cad
commit dce1835028

View File

@ -41,7 +41,7 @@ class CreatePlanTest < ActionDispatch::IntegrationTest
# Check the created plan
plan = json_response(response.body)
assert_equal Plan.last.id, plan[:id]
assert_equal Plan.last.id, plan[:plan_ids][0]
assert_equal plans_count + 1, Plan.count
end
end