Remove a couple more bogus tests
<input type="button" /> doesn't submit forms
This commit is contained in:
parent
f6dd24f7c5
commit
bb282d992e
|
@ -1,7 +1,6 @@
|
|||
<h1 id='form_title' class='form title'>Webrat Buttons Form</h1>
|
||||
|
||||
<% form_tag "/buttons" do %>
|
||||
<input type="button" id="input_button_id" value="input_button_value" />
|
||||
<input type="submit" id="input_submit_id" value="input_submit_value" />
|
||||
<input type="image" id="input_image_id" value="input_image_value" alt="input_image_alt" src="" />
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
<h1 id='form_title' class='form title'>Webrat Buttons Form</h1>
|
||||
|
||||
<% form_tag submit_path do %>
|
||||
<input type="button" id="input_button_id" value="input_button_value">
|
||||
<input type="submit" id="input_submit_id" value="input_submit_value">
|
||||
<input type="image" id="input_image_id" value="input_image_value" alt="input_image_alt" src="">
|
||||
|
||||
|
|
|
@ -29,16 +29,6 @@ class ButtonClickTest < ActionController::IntegrationTest
|
|||
click_button "button_image_text"
|
||||
end
|
||||
|
||||
# <input type="button" ...>
|
||||
test "should click image with type button by id" do
|
||||
visit buttons_path
|
||||
click_button "input_button_id"
|
||||
end
|
||||
test "should click input with type button by value" do
|
||||
visit buttons_path
|
||||
click_button "input_button_value"
|
||||
end
|
||||
|
||||
# <input type="submit" ...>
|
||||
test "should click input with type submit by id" do
|
||||
visit buttons_path
|
||||
|
|
Loading…
Reference in New Issue