require 'spec_helper'

require 'dm-core/spec/shared/adapter_spec'
require 'dm-do-adapter/spec/shared_spec'

require 'dm-migrations'
require 'dm-mysql-adapter/spec/setup'

ENV['ADAPTER']          = 'mysql'
ENV['ADAPTER_SUPPORTS'] = 'all'

describe "DataMapper::Adapters::MysqlAdapter" do

  before :all do
    @adapter    = DataMapper::Spec.adapter
    @repository = DataMapper.repository(@adapter.name)
  end

  it_should_behave_like "An Adapter"
  it_should_behave_like "A DataObjects Adapter"

end
