Hi

I have a button which when clicked opens a JS pop up for confirmation,
confirming which, basically scrubs my DB and so takes a minute to
complete its action.

When I was using watir, I use to put in following code which use to
work, but when switching to Rspec, it gives error so not sure what
should I be replacing here:


$b.confirm(true) do
      $b.button(:value,"Scrub the DB - Full reset /
reload").when_present.fire_event'onclick'
    end
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to