Re: [rspec-users] Problems with array mock

2007-08-07 Thread Don Petersen
Have a look at this: http://pastie.textmate.org/85317 That should work out. Don On Aug 6, 2007, at 2:04 PM, Gaston Ramos wrote: El lun, 06 de ago de 2007, a las 11:52:28 -0500, David Chelimsky dijo: On 8/6/07, Gaston Ramos [EMAIL PROTECTED] wrote: Hi everyone, I'm trying this in my

Re: [rspec-users] Canonical way to generate RSpec HTML report in Rails app

2007-07-26 Thread Don Petersen
There might be a better way to do it, but I basically ripped off the builtin spec:doc Rake task almost verbatim and made a custom task in my Rails app for generating the HTML report. This isn't anything magical, but you should be able to drop a file called whatever_you_want.rake in your

Re: [rspec-users] Wording describe/it so specdocs look good

2007-07-05 Thread Don Petersen
I have no idea what the business logic is, but I guess I see a few words there which could be more concise. should not allow could become disallows. Not much shorter, but I don't think it's written anywhere that everything must to start with should? the same user to rate the same agent