diff --git a/spec/integration/rails/app/views/fields/show.html.erb b/spec/integration/rails/app/views/fields/show.html.erb index afff7ad..7a9ae14 100644 --- a/spec/integration/rails/app/views/fields/show.html.erb +++ b/spec/integration/rails/app/views/fields/show.html.erb @@ -5,4 +5,5 @@
+ \ No newline at end of file diff --git a/spec/integration/rails/test/integration/fill_in_test.rb b/spec/integration/rails/test/integration/fill_in_test.rb index db116d9..530c7e7 100644 --- a/spec/integration/rails/test/integration/fill_in_test.rb +++ b/spec/integration/rails/test/integration/fill_in_test.rb @@ -17,4 +17,8 @@ class FillInTest < ActionController::IntegrationTest 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 \ No newline at end of file