Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-20 Thread aslak hellesoy
On Wed, Aug 20, 2008 at 6:24 PM, Ben Mabey <[EMAIL PROTECTED]> wrote: > aslak hellesoy wrote: >> The RSpec Story runner is likely to be deprecated in favour of the new >> feature runner (temporarily called Cucumber). >> http://www.nabble.com/-ANN--Cucumber-td18876816.html >> >> The RSpec Story runn

Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-20 Thread Jim Morris
aslak hellesoy wrote: Of how you would use it. Assume that you have something like this for scenario-level before/after: class MySteps < Cucumber::Steps # Same as Story runnner steps_for(:my) Before do # This block will run before all scenarios that use steps from MySteps # Any scenarios

Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-20 Thread Joseph Wilk
I agree with Pat also. But I think importantly we need a little tool/guide on converting the old stories to cucumber before any movement. I'm currently evaluating moving our stories to cucumber. I'll see if I can put something together that might help others (if its not already available?). A

Re: [rspec-users] Story Runner Example with Watir

2008-08-20 Thread aidy lewis
Hi Aslak 2008/8/20 aslak hellesoy <[EMAIL PROTECTED]>: > On Wed, Aug 20, 2008 at 2:19 PM, aidy lewis <[EMAIL PROTECTED]> wrote: > Would you consider storing the code in Cucumber's watir example > directory? examples/watir_gmail. That way it's easier to maintain if > Cucumber changes.' > Yes, wil

Re: [rspec-users] command line options in story runner run method

2008-08-20 Thread aidy lewis
Hi David, Thanks for getting back. I piped it. system("ruby #{full_path} -fh > C:\\rspec_reports\\#{file_name}.htm") Works fine (in windows) Aidy 2008/8/20 David Chelimsky <[EMAIL PROTECTED]>: > On Tue, Aug 19, 2008 at 7:09 AM, aidy lewis <[EMAIL PROTECTED]> wrote: >> Hi David, >> >> 2008/8/

Re: [rspec-users] command line options in story runner run method

2008-08-20 Thread David Chelimsky
On Tue, Aug 19, 2008 at 7:09 AM, aidy lewis <[EMAIL PROTECTED]> wrote: > Hi David, > > 2008/8/18 David Chelimsky <[EMAIL PROTECTED]>: > >> Those options don't make it to the runner, which reads the actual >> command line (ARGV). >> >> What I typically do is load up runner files that look like this:

Re: [rspec-users] RSpec raising routing errors where Rails doesn't?

2008-08-20 Thread RSL ___
I gave up on solving this. Very very strange that it even occurs. Stranger still that I circumvented the problem by writing a view helper to construct the url like this: def private_fund_form_url(fund) if fund.new_record? funds_url(:host => PRIVATE_HOST) else fund_url(fund,

Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-20 Thread Ben Mabey
aslak hellesoy wrote: > The RSpec Story runner is likely to be deprecated in favour of the new > feature runner (temporarily called Cucumber). > http://www.nabble.com/-ANN--Cucumber-td18876816.html > > The RSpec Story runner will continue to exist for a while, I just > wanted to let you know that f

Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-20 Thread aslak hellesoy
On Wed, Aug 20, 2008 at 5:32 PM, Mark Wilden <[EMAIL PROTECTED]> wrote: > On Wed, Aug 20, 2008 at 7:49 AM, aslak hellesoy <[EMAIL PROTECTED]> > wrote: >> >> Regarding Cucumber - yes, the name is completely meaningless, but a >> couple of chicks who attended my presentation about it at Agile 2008 >>

Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-20 Thread Mark Wilden
On Wed, Aug 20, 2008 at 7:49 AM, aslak hellesoy <[EMAIL PROTECTED]>wrote: > > Regarding Cucumber - yes, the name is completely meaningless, but a > couple of chicks who attended my presentation about it at Agile 2008 > told me afterwards it made their mind drift... That's good enough for > me. >

Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-20 Thread aslak hellesoy
On Wed, Aug 20, 2008 at 4:20 PM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Wed, Aug 20, 2008 at 9:04 AM, Jonathan Linowes > <[EMAIL PROTECTED]> wrote: >> >> On Aug 20, 2008, at 2:20 AM, Aslak Hellesøy wrote: >> >>> (In Cucumber it's Feature, not Story) >> >> no offense, but while you're bein

Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-20 Thread David Chelimsky
On Wed, Aug 20, 2008 at 9:04 AM, Jonathan Linowes <[EMAIL PROTECTED]> wrote: > > On Aug 20, 2008, at 2:20 AM, Aslak Hellesøy wrote: > >> (In Cucumber it's Feature, not Story) > > no offense, but while you're being picky about names, I dont see too much > difference between 'story' and 'feature' I

Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-20 Thread Jonathan Linowes
On Aug 20, 2008, at 2:20 AM, Aslak Hellesøy wrote: (In Cucumber it's Feature, not Story) no offense, but while you're being picky about names, I dont see too much difference between 'story' and 'feature' but 'cucumber' is a really random meaningless name _

Re: [rspec-users] RSpec raising routing errors where Rails doesn't?

2008-08-20 Thread RSL ___
David Chelimsky wrote: > Please post the code example. I have reduced the failing Rspec code to this: require File.dirname(__FILE__) + '/../../spec_helper' describe "funds/_form.fbml.erb" do before(:each) do @current_user = stub_model(User) @fund = stub_model(Fund, :supporters => [EMAI

Re: [rspec-users] RSpec raising routing errors where Rails doesn't?

2008-08-20 Thread David Chelimsky
Please post the code example. On Wed, Aug 20, 2008 at 8:09 AM, RSL ___ <[EMAIL PROTECTED]> wrote: > Thanks, David but unfortunately for me this is happening on 2.0.2 Rails, > with rspec/rspec-rails, from about a month and a half ago. Must be > something else. Here's hoping someone else has run acr

Re: [rspec-users] Story Runner Example with Watir

2008-08-20 Thread aslak hellesoy
On Wed, Aug 20, 2008 at 2:19 PM, aidy lewis <[EMAIL PROTECTED]> wrote: > Lies here > > gem install watir > > http://wiki.openqa.org/display/WTR/Example+Frameworks > > I will need to port this to Cucumber > That would be great! Would you consider storing the code in Cucumber's watir example direct

Re: [rspec-users] RSpec raising routing errors where Rails doesn't?

2008-08-20 Thread RSL ___
Thanks, David but unfortunately for me this is happening on 2.0.2 Rails, with rspec/rspec-rails, from about a month and a half ago. Must be something else. Here's hoping someone else has run across this. :/ -- Posted via http://www.ruby-forum.com/. ___

[rspec-users] Story Runner Example with Watir

2008-08-20 Thread aidy lewis
Lies here gem install watir http://wiki.openqa.org/display/WTR/Example+Frameworks I will need to port this to Cucumber Feedback Welcome. Aidy ___ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users

Re: [rspec-users] I want RSpec for CSS layout.

2008-08-20 Thread Matt Wynne
+1 cheers, Matt http://blog.mattwynne.net http://songkick.com In case you wondered: The opinions expressed in this email are my own and do not necessarily reflect the views of any former, current or future employers of mine. On 20 Aug 2008, at 01:40, Jay Levitt wrote: I don't even

Re: [rspec-users] Documentation for Plain-Text Stories

2008-08-20 Thread aslak hellesoy
On Wed, Aug 20, 2008 at 8:32 AM, Jim Morris <[EMAIL PROTECTED]> wrote: > Aslak Hellesøy wrote: > >>> >>> I'd like to have a before story and after story as well as a before >>> scenario and after scenario. >>> >>> Right now I do global setup for a story, and cleanup when the story is >>> done. I al