[rspec-users] Cucumber / Webrat clicks_button problem
Mikel Lindsaar
raasdnil at gmail.com
Thu Oct 9 14:07:58 EDT 2008
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....
More information about the rspec-users
mailing list