Re: [rspec-users] template.expect_render

2007-08-11 Thread David Chelimsky
On 8/11/07, Jonathan Linowes [EMAIL PROTECTED] wrote: oops, my bad this works (asserts pass, and partial not called) template.expect_render(:partial = 'bar/foo') render /layouts/bar.html.erb so does this: template.stub_render(:partial = 'bar/foo') render

[rspec-users] Rspec and acl_system2 plugin

2007-08-11 Thread Franck D'agostini
Hello, I'm trying to spec a Rails application using the couple restful_authentication/acl_system2 plugins. In my admin layout, I put the following code : % restrict_to admin do -% ul id=admin-tabs li /users Users management /li /ul % end -% Then in my spec file

Re: [rspec-users] Using rcov and ouput to screen

2007-08-11 Thread aslak hellesoy
On 8/11/07, barsalou [EMAIL PROTECTED] wrote: Sorry I left off the subject by accident...hopefully this will connect to the thread. Mike B. - Forwarded message from [EMAIL PROTECTED] - Date: Fri, 10 Aug 2007 14:33:18 -0800 From: barsalou [EMAIL PROTECTED] Reply-To: