Sha256: 12e0cde6c6c4a1097c44b24dca77317705cc71ed6f1b91b254986ed44de54b11
Contents?: true
Size: 685 Bytes
Versions: 1
Compression:
Stored size: 685 Bytes
Contents
# coding: utf-8 require 'helper' class TestMysql2xxxx < Test::Unit::TestCase def test_1_mysql2json a = Mysql2xxxx::JSON.new @options str = a.to_s assert str.include?('Acura') assert str.include?('Citro\\u00ebn') assert !str.include?('DaimlerChrysler') end def test_2_mysql2csv a = Mysql2xxxx::CSV.new @options str = a.to_s assert str.include?('Acura') assert str.include?('Citroën') assert !str.include?('DaimlerChrysler') end def test_3_mysql2xml a = Mysql2xxxx::XML.new @options str = a.to_s assert str.include?('Acura') assert str.include?('Citroën') assert !str.include?('DaimlerChrysler') end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mysql2xxxx-0.0.4 | test/test_mysql2xxxx.rb |