Re: [rspec-users] Checking that a controller created a separate model object

2008-10-13 Thread Nick Hoffman
On 2008-10-13, at 17:14, O. Frabjous-Dey wrote: I thought some more about the issue and I think I'm approaching the problem the wrong way to begin with. As I understand it, part of the philosophy of RSpec is that using mocks and stubs when testing controllers and views instead of touching t

Re: [rspec-users] Checking that a controller created a separate model object

2008-10-13 Thread O. Frabjous-Dey
On Mon, Oct 13, 2008 at 1:47 PM, Nick Hoffman <[EMAIL PROTECTED]> wrote: > On 2008-10-12, at 23:49, O. Frabjous-Dey wrote: > >> Hi Nick, >> >> The :new action comes straight from script/generate rspec_scaffold: >> >> def new >>@group = Group.new >> >>respond_to do |format| >> format.

Re: [rspec-users] Checking that a controller created a separate model object

2008-10-13 Thread Nick Hoffman
On 2008-10-12, at 23:49, O. Frabjous-Dey wrote: Hi Nick, The :new action comes straight from script/generate rspec_scaffold: def new @group = Group.new respond_to do |format| format.html end end I took out the XML rendering, but left in the respond_to block just in cas

Re: [rspec-users] Checking that a controller created a separate model object

2008-10-12 Thread Nick Hoffman
On 2008-10-12, at 22:33, O. Frabjous-Dey wrote: Hi everyone, RSpec newbie here. I'm looking forward to interacting with the community as I learn more about TDD, RSpec, Rails, and... TDD through RSpec in Rails. Having watched the Peepcode screencasts and read a lot of documentation, I'm tr

[rspec-users] Checking that a controller created a separate model object

2008-10-12 Thread O. Frabjous-Dey
Hi everyone, RSpec newbie here. I'm looking forward to interacting with the community as I learn more about TDD, RSpec, Rails, and... TDD through RSpec in Rails. Having watched the Peepcode screencasts and read a lot of documentation, I'm trying to write my first comprehensive applications using