Skip to content

Commit 39b7569

Browse files
committed
Fix constant reference
1 parent 43926a5 commit 39b7569

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/phlex/view/naughty_business.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def view_template
157157
end
158158
end
159159

160-
Phlex::SGML::UNSAFE_ATTRIBUTES.each do |event_attribute|
160+
Phlex::SGML::Attributes::UNSAFE_ATTRIBUTES.each do |event_attribute|
161161
with "with naughty #{event_attribute} attribute" do
162162
naughty_attributes = { event_attribute => "alert(1);" }
163163

0 commit comments

Comments
 (0)