mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-20 14:54:15 +01:00
(test) fix test failure for update machine category
This commit is contained in:
parent
74fadb3ac9
commit
b1592a7f6f
@ -53,7 +53,7 @@ class MachineCategoriesTest < ActionDispatch::IntegrationTest
|
|||||||
json = json_response(response.body)
|
json = json_response(response.body)
|
||||||
assert_equal name, json[:name]
|
assert_equal name, json[:name]
|
||||||
assert_equal category.machines.length, 2
|
assert_equal category.machines.length, 2
|
||||||
assert_equal category.machine_ids, [2, 3]
|
assert_equal category.machine_ids.sort, [2, 3]
|
||||||
end
|
end
|
||||||
|
|
||||||
test 'delete a machine category' do
|
test 'delete a machine category' do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user