Sha256: a27c6d8b13b13067e98570a4ff26e76f4ec257d1169a589311a28e8fcc6efb46

Contents?: true

Size: 215 Bytes

Versions: 6

Compression:

Stored size: 215 Bytes

Contents

# encoding: utf-8

require 'database_cleaner'
DatabaseCleaner.strategy = :transaction

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

  after(:after) do
    DatabaseCleaner.clean
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
daiku-0.2.2 lib/daiku/plugins/database-sql/_templates/db_helper.rb.tt
daiku-0.2.1 lib/daiku/plugins/database-sql/_templates/db_helper.rb.tt
daiku-0.2.0 lib/daiku/plugins/database-sql/_templates/db_helper.rb.tt
daiku-0.1.1 lib/daiku/plugins/database-sql/_templates/db_helper.rb.tt
daiku-0.1.0 lib/daiku/plugins/database-sql/_templates/db_helper.rb.tt
daiku-0.0.12 lib/daiku/_templates/db_helper.rb