[rspec-users] described_type
Pat Maddox
pergesu at gmail.com
Fri Oct 31 06:50:30 EDT 2008
Matt Wynne <matt at mattwynne.net> writes:
> I figured I could use described_type instead of
> klass in the example-generating method, but it doesn't work:
>
> undefined local variable or method `described_type' for #<
> Spec ::Rails ::Example
> ::ModelExampleGroup::Subclass_1::Subclass_1::Subclass_1:0x21518bc>
>
> What dumb thing am I doing wrong?
self.class.described_type
Pat
More information about the rspec-users
mailing list