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:
parent
532a896cad
commit
dce1835028
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user