Module: DatabaseCleaner::Generic::Transaction

Included in:
ActiveRecord::Transaction, DataMapper::Transaction
Defined in:
lib/database_cleaner/generic/transaction.rb

Instance Method Summary collapse

Instance Method Details

#initialize(opts = {}) ⇒ Object



4
5
6
7
8
# File 'lib/database_cleaner/generic/transaction.rb', line 4

def initialize(opts = {})
  if !opts.empty?
    raise ArgumentError, "Options are not available for transaction strategies."
  end
end