Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/timcharper/webrat into timc…
Browse files Browse the repository at this point in the history
…harper/master
  • Loading branch information
brynary committed Jul 21, 2008
2 parents 580e695 + 5ea0db3 commit 9b90fe3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/api/clicks_button_spec.rb
Expand Up @@ -323,6 +323,16 @@
@session.clicks_button
end

it "should recognize image button tags" do
@session.response_body = <<-EOS
<form action="/">
<input type="image" />
</form>
EOS
@session.expects(:get)
@session.clicks_button
end

it "should recognize button tags by content" do
@session.response_body = <<-EOS
<form method="get" action="/login">
Expand Down

0 comments on commit 9b90fe3

Please sign in to comment.