Gretel stubs out controller.controller method to return nil. I've made a workaround for that. All tests pass. It might have been a better idea to do: context.try(:controller) || context ... instead of the code I've written, but it breaks a lot of tests, which it should not.
… stubbing logic to better reflect The Real World.
…g derived from item options rather than link options
…ompatibility; refactor suppress_link? implementation to respect superclass result
…_to; make both url and options optional; added appropriate tests
…on configuration singleton; use stubbing instead to ensure subsequent tests aren't affected
…a link if we're dealing with hierarchies with no sensible parent link for eg.