Re: [rspec-users] Correct way to spec partials

2008-11-12 Thread Jesse Clark
On Nov 12, 2008, at 12:11 AM, Matt Wynne wrote: On 12 Nov 2008, at 00:51, Jesse Clark wrote: On Oct 26, 4:49 am, "David Chelimsky" <[EMAIL PROTECTED]> wrote: On Thu, Oct 23, 2008 at 8:07 PM, Oleksandr Rudyk <[EMAIL PROTECTED]> wrote: Hi everybody, 1) Does anybody have full working example o

Re: [rspec-users] Correct way to spec partials

2008-11-12 Thread Matt Wynne
On 12 Nov 2008, at 00:51, Jesse Clark wrote: On Oct 26, 4:49 am, "David Chelimsky" <[EMAIL PROTECTED]> wrote: On Thu, Oct 23, 2008 at 8:07 PM, Oleksandr Rudyk <[EMAIL PROTECTED]> wrote: Hi everybody, 1) Does anybody have full working example of how to test partial templates? 2) What the corr

Re: [rspec-users] Correct way to spec partials

2008-11-11 Thread Jesse Clark
On Oct 26, 4:49 am, "David Chelimsky" <[EMAIL PROTECTED]> wrote: > On Thu, Oct 23, 2008 at 8:07 PM, Oleksandr Rudyk <[EMAIL PROTECTED]> wrote: > > Hi everybody, > > 1) Does anybody have full working example of how to test partial templates? > > 2) What the correct place to testpartials: controlle

Re: [rspec-users] Correct way to spec partials

2008-10-26 Thread David Chelimsky
On Thu, Oct 23, 2008 at 8:07 PM, Oleksandr Rudyk <[EMAIL PROTECTED]> wrote: > Hi everybody, > 1) Does anybody have full working example of how to test partial templates? > 2) What the correct place to test partials: controller or view spec? If > controller correct place, > should I use integrate_vi

[rspec-users] Correct way to spec partials

2008-10-23 Thread Oleksandr Rudyk
Hi everybody, 1) Does anybody have full working example of how to test partial templates? 2) What the correct place to test partials: controller or view spec? If controller correct place, should I use integrate_views? 3) Is it true that expect_render is deprecated and I have to use should_receive