Re: [rspec-users] Inspect STDERR in a story

2008-04-14 Thread Edvard Majakari
On Sat, Apr 12, 2008 at 4:17 PM, Ashley Moran <[EMAIL PROTECTED]> wrote: > Yeah! Don't know why I didn't think of just sending stderr to a log > file myself... ..because you're likely smart enough to avoid using file as a temporary variable whenever possible :) First off, using the method sim

Re: [rspec-users] Inspect STDERR in a story

2008-04-14 Thread Ashley Moran
On 14 Apr 2008, at 14:36, Edvard Majakari wrote: > ..because you're likely smart enough to avoid using file as a > temporary variable whenever possible :) Ha, I don't know... I haven't checked Daily WTF lately to see if any of my code has made it on there :) > First off, using the method sim

Re: [rspec-users] newbq: Organizing your stories

2008-04-14 Thread Dan North
I like this. It's pretty much one folder per stakeholder. If you have a question about a story or if a scenario starts failing, you immediately know who to ask whether it matters. I'm more and more coming round to this model on an ideological level. It seems a more natural grouping (and more tangi

[rspec-users] rspec test for converting a hash to a URL string

2008-04-14 Thread Jamie D
Hi all, I've written an expectation for a method that converts a hash into a url string of name/value pairs. The problem is that the hash is not traversed in the same order as it is defined so I can not work out how to test for the correct returned string. The operation of the code does not require

Re: [rspec-users] rspec test for converting a hash to a URL string

2008-04-14 Thread Pat Maddox
On Mon, Apr 14, 2008 at 6:58 PM, Jamie D <[EMAIL PROTECTED]> wrote: > Hi all, I've written an expectation for a method that converts a hash > into a url string of name/value pairs. The problem is that the hash is > not traversed in the same order as it is defined so I can not work out > how to t