forked from ManageIQ/manageiq
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve allowed_storages filter spec
The previous spec did not excercise the fix because the created objects' ems_metadata tree did not match the `belongsto_filter` so the `MiqFilter.belongsto2object_list` returned an empty array which bypassed the `MiqPreloader.preload_and_map(sources, :storages)` call which caused the exception. Now without the fix in EmsFolder to add the `virtual_has_many` this spec will raise the same exception we observed during provisioning.
- Loading branch information
Showing
1 changed file
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters