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

@ -16,7 +16,7 @@
:url => note_path(note),
:method => :delete,
:confirm => "Are you sure that you want to delete the note \'#{note.id.to_s}\'?" },
{ :class => 'delete_note' }) -%> 
{ :class => 'delete_note', :title => "delete note" }) -%> 
<%= link_to_function(image_tag( "blank.png", :title => "Edit item", :class=>"edit_item"),
"$('##{dom_id(note)}').toggle(); $('##{dom_id(note, 'edit')}').show(); $('##{dom_id(note, 'edit_form')} textarea').focus();" ) + " | " %>
<%= link_to("In: " + note.project.name, project_path(note.project), :class=>"footer_link" ) %>&nbsp;|&nbsp;