Re: [rspec-users] Old Style Stories

2008-02-20 Thread David Chelimsky
On Feb 20, 2008 12:06 AM, Zach Dennis <[EMAIL PROTECTED]> wrote: > I was working on a past project tonight to trunk which is using the > old story format. IE: > Given "desc" do / end > When "someting "do /end > etc.. > > Is this officially supported, or is this just something that hasn't > be

Re: [rspec-users] does the rspec_scaffold generator know about :references ?

2008-02-20 Thread David Chelimsky
On Feb 20, 2008 12:35 AM, Peter Recore <[EMAIL PROTECTED]> wrote: > I checked out the CURRENT release of rspec and rails_spec as outlined on > the rubyforge page. I am having trouble with models that use the > :references column type. I get tests with syntax errors after > generating a new class

Re: [rspec-users] Webrat integration with Rspec and Rake tasks

2008-02-20 Thread David Chelimsky
On Feb 20, 2008 2:02 AM, Jarkko Laine <[EMAIL PROTECTED]> wrote: > > On 19.2.2008, at 20.45, James Deville wrote: > > > I set RAILS_ENV in my stories/helper.rb file. That might be a good > > solution. > > > > > > On Feb 19, 2008, at 10:32 AM, Ed Howland wrote: > > > >> Hi, > >> > >> I am trying to

[rspec-users] Shared scenarios?

2008-02-20 Thread Michael Latta
In the story framework I would like to have tests that mix and match scenarios using GivenScenario so for example a scenario that does scenarios A, B, C in various orders. Right now all scenarios need to be self-standing since all the scenarios in the story get run. I would like scenarios

Re: [rspec-users] Shared scenarios?

2008-02-20 Thread David Chelimsky
On Feb 20, 2008 1:30 PM, Michael Latta <[EMAIL PROTECTED]> wrote: > In the story framework I would like to have tests that mix and match > scenarios using GivenScenario so for example a scenario that does > scenarios A, B, C in various orders. Right now all scenarios need to > be self-standing sin

Re: [rspec-users] Shared scenarios?

2008-02-20 Thread Michael Latta
David, I am new to rspec. What is the process for getting changes done? If I implement this is it hard to get into the release version? What is the recommended approach for submitting such a change? Michael On Feb 20, 2008, at 10:50 AM, David Chelimsky wrote: > On Feb 20, 2008 1:30 PM,

[rspec-users] newbie - am I on the right track?

2008-02-20 Thread Chuck Remes
A few days ago I posted a message asking for help in pointing out examples of rspec in the wild. I took the input from that thread, looked through specs from random projects on rubyforge, and pored over the docs. I decided to make my first project a rewrite of a Protocol for EventMachine [1

Re: [rspec-users] spec_server requiring absolute paths (and autotest breaking)

2008-02-20 Thread Scott Taylor
On Feb 20, 2008, at 1:52 AM, Jarkko Laine wrote: > On 20.2.2008, at 6.55, Scott Taylor wrote: >>> That said, now that autotest runs via drb, it's vastly (like 50%) >>> slower than without it, >> >> That's the idea. > > Isn't the idea that specs run faster through drb, rather than > slower? Howe

Re: [rspec-users] Old Style Stories

2008-02-20 Thread Kero
> > I was working on a past project tonight to trunk which is using the > > old story format. IE: > > Given "desc" do / end > > When "someting "do /end > > etc.. > > > > Is this officially supported, or is this just something that hasn't > > been ripped out yet? > > It's funny to me that thi

Re: [rspec-users] Shared scenarios?

2008-02-20 Thread Scott Taylor
On Feb 20, 2008, at 2:36 PM, Michael Latta wrote: > David, > > I am new to rspec. What is the process for getting changes done? If > I implement this is it hard to get into the release version? What is > the recommended approach for submitting such a change? > > Michael > 1. Download a copy o

Re: [rspec-users] Shared scenarios?

2008-02-20 Thread David Chelimsky
On Wed, Feb 20, 2008 at 2:36 PM, Michael Latta <[EMAIL PROTECTED]> wrote: > David, > > I am new to rspec. What is the process for getting changes done? If > I implement this is it hard to get into the release version? What is > the recommended approach for submitting such a change? First rea

Re: [rspec-users] Run all tests after success

2008-02-20 Thread Joe Van Dyk
On Sat, Feb 16, 2008 at 10:39 AM, David Chelimsky <[EMAIL PROTECTED]> wrote: > On Feb 16, 2008 1:21 PM, Steve <[EMAIL PROTECTED]> wrote: > > On Sat, 16 Feb 2008 18:13:51 +, Steve wrote: > > > What was the nature of the changes. I just updated to r3312, and when I > > > run autotest I get: >

Re: [rspec-users] Quiet Backtrace in RSpec

2008-02-20 Thread Jed Hurt
Ahh, I see. Is Spec::Runner::QuietBacktraceTweaker configurable for more quietness? On Sat, Jan 19, 2008 at 1:39 AM, aslak hellesoy <[EMAIL PROTECTED]> wrote: > On Jan 19, 2008 4:16 AM, Jed Hurt <[EMAIL PROTECTED]> wrote: > > I'm using RSpec on Rails and would like to clean up the backtraces, so

Re: [rspec-users] spec_server requiring absolute paths (and autotest breaking)

2008-02-20 Thread Jarkko Laine
On 21.2.2008, at 4.14, Scott Taylor wrote: On Feb 20, 2008, at 1:52 AM, Jarkko Laine wrote: On 20.2.2008, at 6.55, Scott Taylor wrote: That said, now that autotest runs via drb, it's vastly (like 50%) slower than without it, That's the idea. Isn't the idea that specs run faster through