Sha256: 96b79edbb22994058f6bfed6d88feeab769a054bc4abaf31d25ce318512e6dfa
Contents?: true
Size: 458 Bytes
Versions: 9
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' describe 'MACADDR schema dump' do let!(:connection) { ActiveRecord::Base.connection } after { connection.drop_table :testings } 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