Sha256: 33c7e8dbd377b1153abe0b2b778a40b914831532e6eb8b608062b2d3a5315896

Contents?: true

Size: 724 Bytes

Versions: 29

Compression:

Stored size: 724 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

29 entries across 29 versions & 11 rubygems

Version Path
davidtrogers-webrat-0.4.4.2 spec/integration/rails/test/integration/fill_in_test.rb
diabolo-webrat-0.4.4.2 spec/integration/rails/test/integration/fill_in_test.rb
diabolo-webrat-0.5.1 spec/integration/rails/test/integration/fill_in_test.rb
dstrelau-webrat-0.5.1 spec/integration/rails/test/integration/fill_in_test.rb
emipair-webrat-0.0.1 spec/integration/rails/test/integration/fill_in_test.rb
hardbap-webrat-0.5.1 spec/integration/rails/test/integration/fill_in_test.rb
hardbap-webrat-0.5.2 spec/integration/rails/test/integration/fill_in_test.rb
raldred-webrat-0.4.4.2 spec/integration/rails/test/integration/fill_in_test.rb
winton-sum-0.1.0 vendor/webrat/spec/integration/rails/test/integration/fill_in_test.rb
winton-sum-0.1.1 vendor/webrat/spec/integration/rails/test/integration/fill_in_test.rb
kbaum-webrat-0.5.1 spec/integration/rails/test/integration/fill_in_test.rb
sum-0.1.1 vendor/webrat/spec/integration/rails/test/integration/fill_in_test.rb
emipair-webrat-0.5.3 spec/integration/rails/test/integration/fill_in_test.rb
webrat-0.5.3 spec/integration/rails/test/integration/fill_in_test.rb
webrat-0.5.1 spec/integration/rails/test/integration/fill_in_test.rb
webrat-0.4.5 spec/integration/rails/test/integration/fill_in_test.rb
webrat-0.5.0 spec/integration/rails/test/integration/fill_in_test.rb
metry-2.0.4 vendor/webrat/spec/integration/rails/test/integration/fill_in_test.rb
metry-2.0.5 vendor/webrat/spec/integration/rails/test/integration/fill_in_test.rb
metry-2.1.0 vendor/webrat/spec/integration/rails/test/integration/fill_in_test.rb