On 1 Oct 2009, at 00:56, Hates_ 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.

Can't remember exactly, but it's something like self.described_type

cheers,
Matt

http://mattwynne.net
+447974 430184

_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to