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