Sha256: 02077461320b4c87f4f2cd73a901b0be40e03b2f93ace3cf6558b83eb5fefc8b
Contents?: true
Size: 447 Bytes
Versions: 5
Compression:
Stored size: 447 Bytes
Contents
require 'helper' # just to be able to steal the config ActiveRecord::Base.establish_connection( 'adapter' => 'mysql', 'database' => TEST_DB, 'username' => MYSQL_USER, 'password' => MYSQL_PASS ) class TestActiveRecordConfigStealing < Test::Unit::TestCase def test_steals_config a = Mysql2xxxx::JSON.new @options.slice(:execute) str = a.to_s assert str.include?('Acura') assert !str.include?('DaimlerChrysler') end end
Version data entries
5 entries across 5 versions & 1 rubygems