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