Re: [rspec-users] Multiple calls to a class method

2007-07-10 Thread Ashley Moran
On 10 Jul 2007, at 13:16, David Chelimsky wrote: > This is pretty standard in mocking frameworks. In fact, your > frustration was Jim Weirich's motivation for writing Flexmock, so you > may want to give that framework a shot. > This tells the Date class object to ignore all extract_from_rails_

Re: [rspec-users] Multiple calls to a class method

2007-07-10 Thread David Chelimsky
On 7/10/07, Ashley Moran <[EMAIL PROTECTED]> wrote: > Hi > > Just wrote myself a Date.extract_from_rails_hash to handle parsing > the "date(1i)", "date(2i)" parameters created in the controller > params. I've got a method that needs to call this either once or > twice, depending on the contents of

[rspec-users] Multiple calls to a class method

2007-07-10 Thread Ashley Moran
Hi Just wrote myself a Date.extract_from_rails_hash to handle parsing the "date(1i)", "date(2i)" parameters created in the controller params. I've got a method that needs to call this either once or twice, depending on the contents of the form (one section of the form is rendered conditio

Re: [rspec-users] Outside-In with RSpec on Rails

2007-07-10 Thread Marcus Ahnve
On 7/10/07, aslak hellesoy <[EMAIL PROTECTED]> wrote: > On 7/10/07, Marcus Ahnve <[EMAIL PROTECTED]> wrote: > > Whether or not to start with the view is a topic of great debate. Many > > agile luminaries propose waiting with the ui for as long as possible, > > whereas 37Signals for example won't st

Re: [rspec-users] Outside-In with RSpec on Rails

2007-07-10 Thread aslak hellesoy
On 7/10/07, Marcus Ahnve <[EMAIL PROTECTED]> wrote: > Whether or not to start with the view is a topic of great debate. Many > agile luminaries propose waiting with the ui for as long as possible, > whereas 37Signals for example won't start coding without a full HTML > mockup. > I wouldn't call my

Re: [rspec-users] Outside-In with RSpec on Rails

2007-07-10 Thread Marcus Ahnve
Whether or not to start with the view is a topic of great debate. Many agile luminaries propose waiting with the ui for as long as possible, whereas 37Signals for example won't start coding without a full HTML mockup. I've tried all different ways - even starting with the model - but I agree with