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