Forum: RSpec (no subject)

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
C4bc5ab1994f3772f1ece143b5feb177?d=identicon&s=25 Randy Harmon (Guest)
on 2009-02-10 20:55
(Received via mailing list)
I'm encountering an interesting symptom during example execution.  I'm
making a shared example group that dries up belongs-to-me before_filter
testing, and it makes a callback to the example group that says
it_should_behave_like that.  The callback tells the shared example where
to expect a redirect for failure.

It seems that prior to executing a get() (etc), the resource-based url
functions aren't accessible.  Following the get(), topics_url works
fine.  But before then, it gives an error like this:

http://pastie.org/376096

Is this a known issue?  Is there a workaround I can use?  I haven't
stepped through get() to see what its doing that brings in the resource
functions, but if it's not well-known, I can do so and followup with the
answer.

Thanks in advance,

Randy
This topic is locked and can not be replied to.