.
.
.
# Add more helper methods to be used by all tests here...
.
.
.
# Test obecnoci pola formularza o konkretnych atrybutach
def assert_input_field(name, value, field_type, size, 
                                              maxlength, options = {})
  attributes = { :name => name,
                 :type => field_type,
                 :size => size,
                 :maxlength => maxlength }
  # Co zaskakujce attributes[:value] == nil jest przypadkiem innym ni 
  # attributes w ogle nieposiadajce klucza :value
  attributes[:value] = value unless value.nil?
  tag = { :tag => "input", :attributes => attributes }
  # Scal tablic asocjacyjn tag z opcjami, zwaszcza w celu obsugi opcji 
  # :parent => error_div w testach bdw
  tag.merge!(options)
  assert_tag tag
end

