Sha256: 9ef650b827fea40272e42fcce0a512e48405cdba44262dfd3283cf0168fd3101
Contents?: true
Size: 449 Bytes
Versions: 7
Compression:
Stored size: 449 Bytes
Contents
require 'spec_helper' describe 'CITEXT schema dump' do let!(:connection) { ActiveRecord::Base.connection } after { connection.drop_table :testings } it 'correctly generates citext column statements' do stream = StringIO.new connection.create_table :testings do |t| t.citext :citext_column end ActiveRecord::SchemaDumper.dump(connection, stream) output = stream.string output.should match /t\.citext/ end end
Version data entries
7 entries across 7 versions & 1 rubygems