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 cause... -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users
- [rspec-users] expect_render(...).and_return('x') Rob Holland
- Re: [rspec-users] expect_render(...).and_return('x') Kevin Barnes
- Re: [rspec-users] expect_render(...).and_return('x') David Chelimsky
- Re: [rspec-users] expect_render(...).and_return('... Rob Holland
- Re: [rspec-users] expect_render(...).and_retu... David Chelimsky