Re: [rspec-users] Getting Started with Story Runner

2007-09-23 Thread Dan North
Hi James. James Hughes wrote: Your code looks correct. My interpretation of the workflow that derives from this tool is that you write a high level story like you have here, run it, and let it tell you what to do next. The stack trace is telling you that you need an Account class. So now you wo

Re: [rspec-users] Getting Started with Story Runner

2007-09-22 Thread James Hughes
On 9/21/07, Andrew WC Brown <[EMAIL PROTECTED]> wrote: > I'm trying to generate stories based on Dan North's example. > I'm not sure how to do this. > > require File.join(File.dirname(__FILE__), "helper") > > Story "Account Holder withdraws cash", %{ > As an Account Holder > I want to withdraw

Re: [rspec-users] Getting Started with Story Runner

2007-09-21 Thread Andrew WC Brown
I'm trying to generate stories based on Dan North's example. I'm not sure how to do this. require File.join(File.dirname(__FILE__), "helper") Story "Account Holder withdraws cash", %{ As an Account Holder I want to withdraw cash from an ATM So that I can get money when the bank is closed },

Re: [rspec-users] Getting Started with Story Runner

2007-09-20 Thread Evan David Light
There are also a couple of examples buried in the trunk under examples/story/game-of-life/behaviour/stories On Sep 20, 2007, at 10:13 AM, Andrew WC Brown wrote: I'm guessing their isn't a generator for stories yet? ./script/generate story add_person On 9/20/07, James Hughes < [EMAIL PROTECT

Re: [rspec-users] Getting Started with Story Runner

2007-09-20 Thread Andrew WC Brown
I wouldn't mind in on that On 9/20/07, Jarkko Laine <[EMAIL PROTECTED]> wrote: > > > On 20.9.2007, at 19.09, Ben Mabey wrote: > > > Looking in the trunk I couldn't see any generators, for it. Looks > > like > > you found yourself a project ;) > > There is a simple new Story snippet in the textmat

Re: [rspec-users] Getting Started with Story Runner

2007-09-20 Thread Jarkko Laine
On 20.9.2007, at 19.09, Ben Mabey wrote: > Looking in the trunk I couldn't see any generators, for it. Looks > like > you found yourself a project ;) > There is a simple new Story snippet in the textmate bundle in rspec's > trunk however. I just talked about this in Berlin with David. Heading

Re: [rspec-users] Getting Started with Story Runner

2007-09-20 Thread Ben Mabey
Looking in the trunk I couldn't see any generators, for it. Looks like you found yourself a project ;) There is a simple new Story snippet in the textmate bundle in rspec's trunk however. -Ben Andrew WC Brown wrote: > I'm guessing their isn't a generator for stories yet? > > ./script/generate s

Re: [rspec-users] Getting Started with Story Runner

2007-09-20 Thread Andrew WC Brown
I'm guessing their isn't a generator for stories yet? ./script/generate story add_person On 9/20/07, James Hughes <[EMAIL PROTECTED]> wrote: > > On 9/20/07, Ben Mabey <[EMAIL PROTECTED]> wrote: > > Andrew WC Brown wrote: > > > I haven't found any How To's to use story runner and I'm not sure how

Re: [rspec-users] Getting Started with Story Runner

2007-09-20 Thread James Hughes
On 9/20/07, Ben Mabey <[EMAIL PROTECTED]> wrote: > Andrew WC Brown wrote: > > I haven't found any How To's to use story runner and I'm not sure how > > to get started. > > Should I be looking for resources on how to use rbehave? > > How do I generate my first Story? > >

Re: [rspec-users] Getting Started with Story Runner

2007-09-20 Thread Ben Mabey
Andrew WC Brown wrote: > I haven't found any How To's to use story runner and I'm not sure how > to get started. > Should I be looking for resources on how to use rbehave? > How do I generate my first Story? > > > ___

[rspec-users] Getting Started with Story Runner

2007-09-20 Thread Andrew WC Brown
I haven't found any How To's to use story runner and I'm not sure how to get started. Should I be looking for resources on how to use rbehave? How do I generate my first Story? ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/ma