FINALLY! For the three of you who have been following this epic saga through Gists 9907240 and 9908206, we have finally found the elusive green bar; a mystery wrapped in an enigma disguised as a riddle.
There were two key changes that made this work:
- The
describe
group containing the routing spec must have the annotation:type => :routing
; and - The route I was actually trying to
get
was/blog/blog
.
The fact that get 'index'
returns success
in the third spec in the file is the most flaming of red herrings I've seen in a long, long time.
Green-bar-inducing code and spec files follow. The routing is unchanged from that quoted in the first Gist.
For those who may be interested, I've now blogged about all this.