
allow configuring the name of the rack config.ru file
Reported by Alex Chaffee | November 7th, 2009 @ 11:39 AM
In Selenium+Sinatra mode, Webrat launches the app using a hardcoded filename for the config.ru file. This means the test app server must use the development database, which conflicts with good test isolation practices like using fixtures etc. So this patch adds a configuration variable, "rack_config", which can take a filename (or path+filename) to an alternate config.ru, in which you can put all sorts of configurey goodness.
http://github.com/alexch/webrat/commit/76bcc041a0ee1927d52c723bc04b...
(It's actually by me, not Ben, but I was on Ben's workstation.)
No comments found
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby Acceptance Testing for Web applications.