Displaying 1 result from an estimated 1 matches for "trash_can".
2008 Jul 25
0
doing Selenium tests and :confirm inside a link_to_remote does not work
...sn''t prompt me the respective
alert which otherwise would appears before run the destroy method on
the controller.
Without Selenium the application prompt me as the regular way but
within Selenium things go badly.
Here is a part of my view:
<%=link_to_remote image_tag(''/images/trash_can.gif'', :border => 0),
:confirm => ''Delete Schema ''+schema.name+''?'',
:url=>{:controller=>:schema,:action=>:delete,:id=>schema.id},
:before=>"$(''shownDiv#{schema.id}'').visualEffect(...