You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fixtures `refs_to_arrays.xml` and `nested_refs_to_arrays.xml` both could not
be parsed correctly even though they are valid XML. Adding these tests to
the router allowed me to trace down the errors to `deep_select`.
`deep_select` didn't support finding elements inside arrays. Unit tests were
added to the `dispatcher_spec` to show these cases and they were fixed.
In order to make it easier to test that `deep_select` was working properly, I
changed its signature so that it doesn't take a block and it always just selects
ids which was they only way it was used in anycase.
Searching through arrays was also not supported by `deep_replace_href`. Unit
tests were adding showing these bugs. And now this function can also replace arrays in
nested hashes.
0 commit comments