@@ -61,24 +61,24 @@ def render_top_level(controller, component_name)
6161 expect ( render_top_level ( "Controller" , "::Components::Component1" ) ) . to eq ( '<span>Components::Component1</span>' )
6262 end
6363
64- it 'React.html_tags ? will return true for normal html tags' do
65- expect ( React . html_tags ?( 'a' ) ) . to eq ( true )
66- expect ( React . html_tags ?( 'div' ) ) . to eq ( true )
64+ it 'React.html_tag ? will return true for normal html tags' do
65+ expect ( React . html_tag ?( 'a' ) ) . to eq ( true )
66+ expect ( React . html_tag ?( 'div' ) ) . to eq ( true )
6767 end
6868
69- it 'React.html_tags ? will return true for svg element names' do
70- expect ( React . html_tags ?( 'svg' ) ) . to eq ( true )
71- expect ( React . html_tags ?( 'circle' ) ) . to eq ( true )
69+ it 'React.html_tag ? will return true for svg element names' do
70+ expect ( React . html_tag ?( 'svg' ) ) . to eq ( true )
71+ expect ( React . html_tag ?( 'circle' ) ) . to eq ( true )
7272 end
7373
74- it 'React.html_attrs ? will return true for normal html attribute names' do
75- expect ( React . html_attrs ?( 'id' ) ) . to eq ( true )
76- expect ( React . html_attrs ?( 'data' ) ) . to eq ( true )
74+ it 'React.html_attr ? will return true for normal html attribute names' do
75+ expect ( React . html_attr ?( 'id' ) ) . to eq ( true )
76+ expect ( React . html_attr ?( 'data' ) ) . to eq ( true )
7777 end
7878
79- it 'React.html_attrs ? will return true for svg attribute names' do
80- expect ( React . html_attrs ?( 'cx' ) ) . to eq ( true )
81- expect ( React . html_attrs ?( 'strokeWidth' ) ) . to eq ( true )
79+ it 'React.html_attr ? will return true for svg attribute names' do
80+ expect ( React . html_attr ?( 'cx' ) ) . to eq ( true )
81+ expect ( React . html_attr ?( 'strokeWidth' ) ) . to eq ( true )
8282 end
8383end
8484end
0 commit comments