On Tue, Sep 6, 2011 at 9:40 PM, slavix <mikerin.sl...@gmail.com> wrote:

> Hello,
> Is there any way to test model inheritance in spec?
>
> something like..
>  it { ChildModel.should < ParentModel }
>
> thanks.
> _______________________________________________
> rspec-users mailing list
> rspec-users@rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>

specify { ChildModel.should be < ParentModel }
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to