[rspec-users] Cucumber / Webrat clicks_button problem

Mikel Lindsaar raasdnil at gmail.com
Fri Oct 10 04:50:50 EDT 2008


Never mind, fixed in trunk of Webrat.

On Fri, Oct 10, 2008 at 5:07 AM, Mikel Lindsaar <raasdnil at gmail.com> 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....


More information about the rspec-users mailing list