Sha256: e1995eca1315bf2637693346eeb8d15add9a00b92ab815c454de54ce97fdddf9
Contents?: true
Size: 1010 Bytes
Versions: 2
Compression:
Stored size: 1010 Bytes
Contents
require 'spec_helper' require 'shared/mysql_connection_adapter_spec' require 'shared/mysql_migration_spec' require 'shared/mysql_schema_dumper_spec' require 'shared/mysql_models_spec' require 'shared/common_model_actions_spec' require 'spatial_adapter/mysql2' require 'db/mysql2_raw' require 'models/common' describe ActiveRecord::ConnectionAdapters::Mysql2Adapter do it_should_behave_like 'common model actions' it_should_behave_like 'a modified mysql adapter' do let(:establish){ mysql2_connection } let(:column) do ActiveRecord::ConnectionAdapters::Mysql2Column end let(:spatial_column) do ActiveRecord::ConnectionAdapters::SpatialMysql2Column end end it_should_behave_like 'spatially enabled migrations' do let(:establish){ mysql2_connection } end it_should_behave_like 'spatially enabled schema dump' do let(:establish){ mysql2_connection } end it_should_behave_like 'spatially enabled models' do let(:establish){ mysql2_connection } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spatial_adapter-1.3.1 | spec/mysql2_spec.rb |
spatial_adapter-1.3.0 | spec/mysql2_spec.rb |