Re: [rspec-users] Specifying custom rails FormBuilders

2007-08-06 Thread Jay Levitt
David Chelimsky wrote: > On 8/6/07, Jay Levitt <[EMAIL PROTECTED]> wrote: >> I want to write a spec for a custom form builder, but I'm not really >> sure where it should live or how to include the right rspec_on_rails >> contexts. Ideally, I should be able to write a spec like: >> >> >> describe L

Re: [rspec-users] Specifying custom rails FormBuilders

2007-08-06 Thread David Chelimsky
On 8/6/07, Jay Levitt <[EMAIL PROTECTED]> wrote: > I want to write a spec for a custom form builder, but I'm not really > sure where it should live or how to include the right rspec_on_rails > contexts. Ideally, I should be able to write a spec like: > > > describe LabelledBuilder do > > it "sho

[rspec-users] Specifying custom rails FormBuilders

2007-08-06 Thread Jay Levitt
I want to write a spec for a custom form builder, but I'm not really sure where it should live or how to include the right rspec_on_rails contexts. Ideally, I should be able to write a spec like: describe LabelledBuilder do it "should let me create a text field" do object = mock(object