Matt Wynne <[EMAIL PROTECTED]> 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
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to