test/version/tc_iqqueryversion.rb in xmpp4r-0.3.1 vs test/version/tc_iqqueryversion.rb in xmpp4r-0.3.2

- old
+ new

@@ -2,19 +2,20 @@ $:.unshift File::dirname(__FILE__) + '/../../lib' require 'test/unit' require 'xmpp4r/rexmladdons' +require 'xmpp4r/iq' require 'xmpp4r/version/iq/version' include Jabber class Version::IqQueryVersionTest < Test::Unit::TestCase def test_create_empty x = Version::IqQueryVersion::new assert_equal('jabber:iq:version', x.namespace) - assert_equal('', x.iname) - assert_equal('', x.version) - assert_equal(nil, x.os) + assert_nil(x.iname) + assert_nil(x.version) + assert_nil(x.os) end def test_create x = Version::IqQueryVersion::new('my test', 'XP') assert_equal('jabber:iq:version', x.namespace)