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:
parent
b0490a035e
commit
f573f69af4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue