expose regexp escape problem in fill_in_test
This commit is contained in:
parent
57326e5846
commit
2ae14f78b1
|
@ -5,4 +5,5 @@
|
|||
<li><input type="text" name="rails[naming]" value="" /></li>
|
||||
<li><input type="text" id="field_by_id" value="" /></li>
|
||||
<li><label for="field_by_label_id">FieldByLabelId</label><input type="text" id="field_by_label_id" /></li>
|
||||
<li><label for="field_by_label_with_special_characters">[Field]:</label><input type="text" id="field_by_label_with_special_characters" /></li>
|
||||
</ul>
|
|
@ -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
|
Loading…
Reference in New Issue