Re: [rspec-users] rspec testing inheritance

2011-09-07 Thread David Chelimsky
On Sep 7, 2011, at 7:03 AM, Matt Wynne wrote: > On 7 Sep 2011, at 07:53, Sidu Ponnappa wrote: > >> On 7 September 2011 11:09, Justin Ko wrote: >>> >>> On Tue, Sep 6, 2011 at 9:40 PM, slavix wrote: Hello, Is there any way to test model inheritance in spec? something l

Re: [rspec-users] rspec testing inheritance

2011-09-07 Thread Matt Wynne
On 7 Sep 2011, at 07:53, Sidu Ponnappa wrote: > > On 7 September 2011 11:09, Justin Ko wrote: >> >> >> On Tue, Sep 6, 2011 at 9:40 PM, slavix wrote: >>> >>> Hello, >>> Is there any way to test model inheritance in spec? >>> >>> something like.. >>> it { ChildModel.should < ParentModel } >

Re: [rspec-users] rspec testing inheritance

2011-09-06 Thread Sidu Ponnappa
Wouldn't this be an implementation bound spec? Best, Sidu. http://c42.in On 7 September 2011 11:09, Justin Ko wrote: > > > On Tue, Sep 6, 2011 at 9:40 PM, slavix wrote: >> >> Hello, >> Is there any way to test model inheritance in spec? >> >> something like.. >>  it { ChildModel.should < Parent

Re: [rspec-users] rspec testing inheritance

2011-09-06 Thread Justin Ko
On Tue, Sep 6, 2011 at 9:40 PM, slavix 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:/