Sha256: fb3b873680b104538ea6b890d9275433da4162f9e7815a5471ae43479a831fba
Contents?: true
Size: 395 Bytes
Versions: 2
Compression:
Stored size: 395 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 :uuid_column end ActiveRecord::SchemaDumper.dump(connection, stream) output = stream.string output.should match /t\.uuid/ end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
postgres_ext-0.0.9 | spec/schema_dumper/uuid_spec.rb |
postgres_ext-0.0.8 | spec/schema_dumper/uuid_spec.rb |