set configurations for using cucumber and selenium

if you want to run it, update your database.yml to include cucumber and selenium environments (like in the .tmpl) and run

RAILS_ENV=selenium cucumber -p selenium
This commit is contained in:
Reinier Balt 2010-02-02 22:52:32 +01:00
parent 502e60c9a1
commit 8f349d3b6b
9 changed files with 60 additions and 20 deletions

View file

@ -49,7 +49,7 @@ $.fn.clearForm = function() {
* Unobtrusive jQuery written by Eric Allen
****************************************/
/* Set up authenticity token proplery */
/* Set up authenticity token properly */
$(document).ajaxSend(function(event, request, settings) {
if ( settings.type == 'POST' ) {
if(typeof(AUTH_TOKEN) != 'undefined'){