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

2008-02-28 Thread Ed Howland
> > It is set in stories/helper.rb, but not working. ./script/generate > rspec creates a file with: > ENV['RAILS_ENV']="test" > > which is deprecated It should be: > RAILS_ENV="test" > > Changed that and it all worked fine. > > Ed which then promptly broke migrations and other Rakeish thin

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

2008-02-23 Thread Jarkko Laine
On 23.2.2008, at 4.00, Joe Van Dyk wrote: How are you using both autotest and the stories? I use Geoffrey's rstakeout (http://nubyonrails.com/articles/automation-with-rstakeout ) to watch a single story (running all stories a la autotest is too slow) and /app, and autotest in a different ter

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

2008-02-22 Thread Ed Howland
On Wed, Feb 20, 2008 at 1: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. > > > > > > Using Webrat for 100% of my stories (and running autotest) and loving >

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

2008-02-22 Thread Joe Van Dyk
On Tue, Feb 19, 2008 at 11:02 PM, 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, > >> >

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

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

2008-02-19 Thread Jarkko Laine
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 get Webrat integrated with RSpec. I've followed the steps in the various blog posts about this, but h

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

2008-02-19 Thread James Deville
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 get Webrat integrated with RSpec. I've followed the > steps in the various blog posts about this, but have one sniggling > little issue. It migh