Sha256: ece76b57c99c539edbcb1a0d51c38b69fb79e888c590e54196a1dab009834972

Contents?: true

Size: 324 Bytes

Versions: 5

Compression:

Stored size: 324 Bytes

Contents

# frozen_string_literal: true
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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mechanize-2.12.2 test/test_mechanize_form_image_button.rb
mechanize-2.12.1 test/test_mechanize_form_image_button.rb
mechanize-2.12.0 test/test_mechanize_form_image_button.rb
mechanize-2.11.0 test/test_mechanize_form_image_button.rb
mechanize-2.10.1 test/test_mechanize_form_image_button.rb