mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-21 15:54:22 +01:00
fix create plan test
This commit is contained in:
parent
532a896cad
commit
dce1835028
@ -41,7 +41,7 @@ class CreatePlanTest < ActionDispatch::IntegrationTest
|
|||||||
|
|
||||||
# Check the created plan
|
# Check the created plan
|
||||||
plan = json_response(response.body)
|
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
|
assert_equal plans_count + 1, Plan.count
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user