Permalink
Browse files

Added do command to action :login

  • Loading branch information...
1 parent 2ae8a84 commit c446ce9bd62cee09268a5c5bf3b5bd1ac940bd9e @kpdecker kpdecker committed May 18, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -34,7 +34,7 @@ test/right/widgets/login.rb:
field :username, :id => 'username'
button :login, :css => "input[type=submit]"
- action :login |username, password|
+ action :login do |username, password|
fill_in :username, username
click :login
end

0 comments on commit c446ce9

Please sign in to comment.