[rspec-users] Webrat integration with Rspec and Rake tasks
ed.howland at gmail.com
Fri Feb 22 18:02:49 EST 2008
On Wed, Feb 20, 2008 at 1:02 AM, Jarkko Laine <jarkko at jlaine.net> 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
> it. I also have the env set in stories/helper.rb, but I'm not sure
> whether it was there from the beginning (I just copied it from some of
> the early posts about stories).
It is set in stories/helper.rb, but not working. ./script/generate
rspec creates a file with:
which is deprecated It should be:
Changed that and it all worked fine.
> Jarkko Laine
> rspec-users mailing list
> rspec-users at rubyforge.org
"The information transmitted is intended only for the person or entity
to which it is addressed and may contain proprietary, confidential
and/or legally privileged material. Any review, retransmission,
dissemination or other use of, or taking of any action in reliance
upon, this information by persons or entities other than the intended
recipient is prohibited. If you received this in error, please contact
the sender and delete the material from all computers."
More information about the rspec-users