Sha256: 30759ed488772d81099dd8d6534c5c5c057e438cc4a00650217c42926d725dc0

Contents?: true

Size: 296 Bytes

Versions: 4

Compression:

Stored size: 296 Bytes

Contents

#
# Enables paritioning for these tests, use like so: 
#
# 
#
shared_examples "partitioning" do
  before(:all) do
    @previous_value = Dynamoid::Config.partitioning
    Dynamoid::Config.partitioning = true
  end
  
  after(:all) do
    Dynamoid::Config.partitioning = @previous_value
  end  
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
dynamoid-moda-0.7.2 spec/support/with_partitioning.rb
dynamoid-moda-0.7.1 spec/support/with_partitioning.rb
dynamoid-0.7.1 spec/support/with_partitioning.rb
dynamoid-0.7.0 spec/support/with_partitioning.rb