Sha256: 3dab81fd0a5d5c5a8d34253fc712995d2cc3fbf5f730dc4a65bb144cbe2209cf
Contents?: true
Size: 440 Bytes
Versions: 9
Compression:
Stored size: 440 Bytes
Contents
require 'spec_helper' describe 'extension schema dump', :if => ActiveRecord::Base.connection.supports_extensions? do let!(:connection) { ActiveRecord::Base.connection } it 'correctly creates and exports database extensions' do stream = StringIO.new connection.add_extension 'hstore' ActiveRecord::SchemaDumper.dump(connection, stream) output = stream.string output.should match /add_extension "hstore"/ end end
Version data entries
9 entries across 9 versions & 2 rubygems