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