test/nitro/builders/tc_xml.rb in nitro-0.8.0 vs test/nitro/builders/tc_xml.rb in nitro-0.9.3
- old
+ new
@@ -19,11 +19,11 @@
x = N::XmlString.new
x.b('This is bold')
assert_equal '<b>This is bold</b>', x
x = N::XmlString.new
- x.a('Navel', :href => 'http://www.navel.gr', :target => '_blank')
- assert_equal '<a target="_blank" href="http://www.navel.gr">Navel</a>', x
+ x.a('Navel', :href => 'http://www.navel.gr')
+ assert_equal '<a href="http://www.navel.gr">Navel</a>', x
x = N::XmlString.new
x.b {
x.i 'Hello', :class =>'new'