Hi,
On Tue, 2007-24-07 at 15:26 -0700, Courtenay wrote:
> Does this work?
>
> ApplicationHelper.stub!(:controller).and_return mock('controller',
> :controller_name => 'foo')
Sadly, no. Same result:
undefined local variable or method `controller' for [RSpec
example]: #<Class:0xb7149760>
--
Rick
[EMAIL PROTECTED]
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
