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
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
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: