Sha256: fb5ef437bcb45887b75120a0df950b79912e04c6572f6d5f8ecf85ac15643825

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

require 'rubygems'
require 'test/unit'
require 'active_record'

ActiveRecord::Base.establish_connection({
  :adapter => 'sqlite3',
  :database => 'docu_test'
})

ActiveRecord::Schema.define do
  create_table 'orders', :force => true do |t|
    t.column 'bag', :text
  end
end

ActiveRecord::Schema.define do
  create_table 'users', :force => true do |t|
    t.string :type
    t.text   :bag
  end
end

require File.dirname(__FILE__) + '/../lib/act_with_bag.rb'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
act_with_bag-0.4.0 test/test_helper.rb