Sha256: 17f3bb0ad5d30d3bb06ea3ffa62cf27ef2a19e5ee43edc7033c766040ee77381
Contents?: true
Size: 445 Bytes
Versions: 1
Compression:
Stored size: 445 Bytes
Contents
require 'spec_helper' # Really an integration/regression test will move once we drop support for <= 3.1 describe ActiveRecord::Base do describe '#table_exists?' do it "should return true for unquoted full_names" do expect(Fruit.connection.table_exists?('cm_test.fruits')).to eql(true) end it "should return true for table only names" do expect(Fruit.connection.table_exists?('fruits')).to eql(true) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
connection_manager-2.0.0 | spec/lib/connection_adapters/mysql_adapter_spec.rb |