Sha256: 5b101828ed14785ff8bd53b975026168f96d0194e51d294c280126d18fa836c5

Contents?: true

Size: 476 Bytes

Versions: 4

Compression:

Stored size: 476 Bytes

Contents

$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../lib')
require 'test/unit'
require 'rubygems'
require 'activerecord'

begin
  require 'sqlite3'
rescue LoadError
  gem 'sqlite3-ruby'
  retry
end

ActiveRecord::Base.establish_connection({"adapter" => "sqlite3", "database" => 'test.sqlite3'})
begin
  ActiveRecord::Base.connection.execute("drop table mock_records");
rescue
end
ActiveRecord::Base.connection.execute("create table mock_records(id int)");

require 'after_commit'

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
yipdw-after_commit-0.0.1 test/test_helper.rb
after_commit-1.0.2 test/test_helper.rb
after_commit-1.0.1 test/test_helper.rb
after_commit-1.0.0 test/test_helper.rb