Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
13 lines (8 sloc) 294 Bytes
require 'mechanize/test_case'
class TestMechanizeFormImageButton < Mechanize::TestCase
def test_query_value
button = Mechanize::Form::ImageButton.new 'name' => 'image_button'
assert_equal [%w[image_button.x 0], %w[image_button.y 0]],
button.query_value
end
end
Jump to Line
Something went wrong with that request. Please try again.