Never mind, fixed in trunk of Webrat.

On Fri, Oct 10, 2008 at 5:07 AM, Mikel Lindsaar <[EMAIL PROTECTED]> wrote:
> Before I dive into the code and fix it, has anyone else worked around
> / found the solution to calling 'clicks_button' when the button is
> actually a button and not an input?
>
> ie:
>
> <form ... >
>
> <button type="submit" ....>
> Text... / Image here
> </button>
> </form>
>
> Calling clicks on this doesn't find it as webrat only looks for
> input[type=submit].
>
> Mikel
>
>
> --
> http://lindsaar.net/
> Rails, RSpec and Life blog....
>



-- 
http://lindsaar.net/
Rails, RSpec and Life blog....
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to