Sha256: 689bd8c2e8695809371ec4f662a7161bdaa4953efe48f2ebbf40c0b97a83d8ea

Contents?: true

Size: 749 Bytes

Versions: 1

Compression:

Stored size: 749 Bytes

Contents

require 'test_helper'

class FillInTest < ActionController::IntegrationTest
  test "should fill in text field by name" do
    visit fields_path
    fill_in "field_by_name", :with => "value"
  end
  test "should fill in text field by name, rails naming lh257" do
    visit fields_path
    fill_in "rails[naming]", :with => "value"
  end
  test "should fill in text field by id" do
    visit fields_path
    fill_in "field_by_id", :with => "value"
  end
  test "should fill in text field by label via id" do
    visit fields_path
    fill_in "FieldByLabelId", :with => "value"
  end
  test "should fill in text field by label with special characters" do
    visit fields_path
    fill_in "[Field]:", :with => "value"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mkuklis-webrat-0.6.rc1 spec/integration/rails/test/integration/fill_in_test.rb