Sha256: 58ac79ee85cc4e760c448481f769904921d599b41d39e6b054c7d399b6475f78

Contents?: true

Size: 529 Bytes

Versions: 2

Compression:

Stored size: 529 Bytes

Contents

require 'pathname'
require Pathname(__FILE__).dirname.expand_path + 'spec_helper'

require 'dm-core/spec/adapter_shared_spec'

describe DataMapper::Adapters::SimpleDBAdapter do
  before :all do
    @adapter = DataMapper::Repository.adapters[:default]
    @old_consistency_policy = @adapter.consistency_policy
    @adapter.consistency_policy = :automatic
    # @adapter.logger = ::Logger.new($stderr)
  end

  after :all do
    @adapter.consistency_policy = @old_consistency_policy
  end

  it_should_behave_like 'An Adapter'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dm-adapter-simpledb-1.5.0 spec/integration/compliance_spec.rb
dm-adapter-simpledb-1.4.0 spec/integration/compliance_spec.rb