[rspec-users] Documentation for Plain-Text Stories

2008-08-12 Thread Matt Wynne
Can I help the project by writing some docs about the plain-text story runner for the rspec.info website? It would surely help me to get it wired in my own mind if I have to write it up for the world. Would this be helpful / appreciated? What format would you want them in? cheers, Matt ___

[rspec-users] return code question

2008-08-12 Thread Ben Fyvie
We are trying to automate the running of our rspec tests for our Rails app on a build server using Capistrano. The problem is that Capistrano seems to think that the command called to run the model tests failed when in fact I believe it succeeded. I believe the problem has to do with the return co

[rspec-users] WDYT, simple, anonymous story listeners?

2008-08-12 Thread Zach Dennis
Sometimes I don't have a full need to make a class to do something, yet I want something readable and concise. This is influenced from the joys of JavaScript. Today I made this happen. Love it, like it, hate it, WDYT? Spec::Story::Runner.register_listener FunctionalStruct.new( :run_started => l

Re: [rspec-users] WDYT, simple, anonymous story listeners?

2008-08-12 Thread David Chelimsky
On Tue, Aug 12, 2008 at 7:25 PM, Zach Dennis <[EMAIL PROTECTED]> wrote: > Sometimes I don't have a full need to make a class to do something, > yet I want something readable and concise. This is influenced from the > joys of JavaScript. > > Today I made this happen. Love it, like it, hate it, WDYT?

Re: [rspec-users] WDYT, simple, anonymous story listeners?

2008-08-12 Thread Tero Tilus
2008-08-12 20:25, Zach Dennis: > Sometimes I don't have a full need to make a class to do something, How's that _essentially_ different from making a class or extending an existing class? I am not knowledgeable enough to "just see" it, and becaus I can't understand the motivation, I'm bound to ha

Re: [rspec-users] WDYT, simple, anonymous story listeners?

2008-08-12 Thread Zach Dennis
On Wed, Aug 13, 2008 at 12:24 AM, Tero Tilus <[EMAIL PROTECTED]> wrote: > 2008-08-12 20:25, Zach Dennis: >> Sometimes I don't have a full need to make a class to do something, > > How's that _essentially_ different from making a class or extending an > existing class? I am not knowledgeable enough

Re: [rspec-users] WDYT, simple, anonymous story listeners?

2008-08-12 Thread Mark Wilden
On Tue, Aug 12, 2008 at 9:54 PM, Zach Dennis <[EMAIL PROTECTED]> wrote: > There is nothing wrong with this, but there are times when it feels > dirty and unnecessary to create yet another class with some methods The proposed solution looks very nice, but I've never been convinced by the "yet an