Sha256: 4960f84a4be9e8e0be0c9667ab84453f2c583f8486828fda004fd0bfcf4bb7ab

Contents?: true

Size: 725 Bytes

Versions: 28

Compression:

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

28 entries across 28 versions & 14 rubygems

Version Path
radiant-1.0.0 ruby-debug/ruby/1.8/gems/webrat-0.7.3/spec/integration/rails/test/integration/fill_in_test.rb
indirect-webrat-0.7.5 spec/integration/rails/test/integration/fill_in_test.rb
indirect-webrat-0.7.4 spec/integration/rails/test/integration/fill_in_test.rb
webrat-0.7.3 spec/integration/rails/test/integration/fill_in_test.rb
jbd-webrat-0.7.2.rails3 spec/integration/rails/test/integration/fill_in_test.rb
webrat-0.7.2 spec/integration/rails/test/integration/fill_in_test.rb
webrat-0.7.2.beta.2 spec/integration/rails/test/integration/fill_in_test.rb
mutle-webrat-0.7.2.beta.1 spec/integration/rails/test/integration/fill_in_test.rb
thoughtbot-webrat-0.7.2.pre spec/integration/rails/test/integration/fill_in_test.rb
webrat-0.7.2.beta.1 spec/integration/rails/test/integration/fill_in_test.rb
honkster-webrat-0.7.1.2 spec/integration/rails/test/integration/fill_in_test.rb
honkster-webrat-0.7.1.1 spec/integration/rails/test/integration/fill_in_test.rb
revo-webrat-0.7.0.1 spec/integration/rails/test/integration/fill_in_test.rb
webrat-0.7.1 spec/integration/rails/test/integration/fill_in_test.rb
davidtrogers-webrat-0.7.0 spec/integration/rails/test/integration/fill_in_test.rb
revo-webrat-0.7.0 spec/integration/rails/test/integration/fill_in_test.rb
revo-webrat-0.7.1.pre spec/integration/rails/test/integration/fill_in_test.rb
webrat-0.7.0 spec/integration/rails/test/integration/fill_in_test.rb
honkster-webrat-0.6.0.10 spec/integration/rails/test/integration/fill_in_test.rb
honkster-webrat-0.6.0.9 spec/integration/rails/test/integration/fill_in_test.rb