[rspec-users] Grabbing the controller name before a new test case
zach.dennis at gmail.com
Thu Oct 1 13:45:31 EDT 2009
Your name has intrigued me. Do you really hate underscores? :)
On Wed, Sep 30, 2009 at 7:56 PM, Hates_ <richard.e.hart at googlemail.com> wrote:
> I currently have:
> describe Publishers::PagesController
> I want to be able to grab the path "publishers/pages/ and use that to
> generate a load of tests automatically. Problem is I can't figure out
> how to do it outside of my "it" block.
> Any help is greatly appreciated.
> rspec-users mailing list
> rspec-users at rubyforge.org
http://www.mutuallyhuman.com (hire me)
http://ideafoundry.info/behavior-driven-development (first rate BDD training)
More information about the rspec-users