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