Sha256: d2eb34dff16a3daaa5047ebfa9d57a3c2ea3baf5aec40d4344b94f4ee2f27031
Contents?: true
Size: 441 Bytes
Versions: 6
Compression:
Stored size: 441 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 be_true end it "should return true for table only names" do expect(Fruit.connection.table_exists?('fruits')).to be_true end end end
Version data entries
6 entries across 6 versions & 1 rubygems