Fix brittle trailing slash spec