1
0
Fork 0
mirror of https://github.com/haml/haml.git synced 2022-11-09 12:33:31 -05:00

Fix regexp in test for Rails 4.2 forms

This commit is contained in:
Norman Clarke 2014-12-01 10:51:16 -03:00
parent b0490a035e
commit f573f69af4

View file

@ -156,7 +156,7 @@ HAML
= form_for OpenStruct.new, url: 'foo', as: :post do |f|
= f.text_field :name
HAML
assert_match(/<div[^>]+><input/, rendered)
assert_match(/<(form|div)[^>]+><input/, rendered)
end
def test_pre