diff --git a/spec/oga/xml/lexer/html_void_elements_spec.rb b/spec/oga/xml/lexer/html_void_elements_spec.rb
index 8e3337f..69fc97a 100644
--- a/spec/oga/xml/lexer/html_void_elements_spec.rb
+++ b/spec/oga/xml/lexer/html_void_elements_spec.rb
@@ -11,7 +11,7 @@ describe Oga::XML::Lexer do
end
example 'lex a upper case void element' do
- lex('
', html: true).should == [
+ lex('
', :html => true).should == [
[:T_ELEM_START, nil, 1],
[:T_ELEM_NAME, "BR", 1],
[:T_ELEM_END, nil, 1]