Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
spec: Fix a path construction, test passes now
Explicitly pass :id, and only :id, to the route helper for this test. We only need the :id from the newly-constructed test restroom in order to visit the correct path. Don't pass anything else to the `restroom_path` route helper. (Passing the whole array of restroom data was causing the whole array to be erroneously interpreted as if it was the :locale prefix in the path. Pass only the :id instead.)
- Loading branch information