Sha256: 7d9d9c76170b9aaad77038693e35eb2e0b52dd0ad3a2a726b535d496a5455e14

Contents?: true

Size: 546 Bytes

Versions: 3

Compression:

Stored size: 546 Bytes

Contents

require 'helper'

class TestMysql2xxxx < Test::Unit::TestCase
  def test_mysql2json
    a = Mysql2xxxx::JSON.new @options
    str = a.to_s
    assert str.include?('Acura')
    assert !str.include?('DaimlerChrysler')
  end

  def test_mysql2csv
    a = Mysql2xxxx::CSV.new @options
    str = a.to_s
    assert str.include?('Acura')
    assert !str.include?('DaimlerChrysler')
  end
  
  def test_mysql2xml
    a = Mysql2xxxx::XML.new @options
    str = a.to_s
    assert str.include?('Acura')
    assert !str.include?('DaimlerChrysler')
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mysql2xxxx-0.0.3 test/test_mysql2xxxx.rb
mysql2xxxx-0.0.2 test/test_mysql2xxxx.rb
mysql2xxxx-0.0.1 test/test_mysql2xxxx.rb