Sha256: b4c955ca66140a9e53d79b8052abbb9e88fd7591634186148eccb27126397966

Contents?: true

Size: 233 Bytes

Versions: 25

Compression:

Stored size: 233 Bytes

Contents

require "database_cleaner"

DatabaseCleaner.clean_with :truncation
DatabaseCleaner.strategy = :transaction

class MiniTest::Spec
  before :each do
    DatabaseCleaner.start
  end

  after :each do
    DatabaseCleaner.clean
  end
end

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
s3_relay-0.7.0 test/support/database_cleaner.rb
s3_relay-0.6.2 test/support/database_cleaner.rb
s3_relay-0.6.1 test/support/database_cleaner.rb
mongoid-direct-s3-upload-0.1.7 test/support/database_cleaner.rb
mongoid-direct-s3-upload-0.1.6 test/support/database_cleaner.rb
mongoid-direct-s3-upload-0.1.5 test/support/database_cleaner.rb
mongoid-direct-s3-upload-0.1.4 test/support/database_cleaner.rb
mongoid-direct-s3-upload-0.1.3 test/support/database_cleaner.rb
mongoid-direct-s3-upload-0.1.2 test/support/database_cleaner.rb
mongoid-direct-s3-upload-0.1.1 test/support/database_cleaner.rb
mongoid-direct-s3-upload-0.1.0 test/support/database_cleaner.rb
mongoid_direct_s3_upload-0.1.0 test/support/database_cleaner.rb
s3_relay-0.6.0 test/support/database_cleaner.rb
s3_relay-0.5.1 test/support/database_cleaner.rb
s3_relay-0.5.0 test/support/database_cleaner.rb
s3_relay-0.4.2 test/support/database_cleaner.rb
s3_relay-0.4.1 test/support/database_cleaner.rb
s3_relay-0.4.0 test/support/database_cleaner.rb
s3_relay-0.3.2 test/support/database_cleaner.rb
s3_relay-0.3.1 test/support/database_cleaner.rb