Cucumber / Webrat clicks_button problem


#1

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:

<button type=“submit” …>
Text… / Image here

Calling clicks on this doesn’t find it as webrat only looks for
input[type=submit].

Mikel


#2

Never mind, fixed in trunk of Webrat.