David Chelimsky wrote:
>
> Code please.
I stand corrected. It is only not working for me when mocha is enabled.
I just stepped through four cases and detailed the view spec, view (that
is sometimes empty) and results.
This is running on OSX 10.4.11 with the following setup:
moonbook:~ barnekr$
I keep having problems w/ expect_render, mainly that it doesn't work as
advertised. I can put a template.expect_render(:partial => 'this should
fail') in a view spec and I get no failure. I have read the docs, I have
followed the threads (two, which never resolve the initial issue and
dissolve into
I've experienced very strange behavior with expect_render and
stub_render as well as putting expectations on self in helper tests...
It seems a lot of this weirdness started when I upgraded the rails
plugin from 1.1.0 to 1.1.2. I use mocha instead of the rspec mocks -
don't know if that is a ca