Sha256: f004896379b7f8a8ec8a347dca8e5b4c66ec108f15a220bb8b6ea959118b81f7
Contents?: true
Size: 656 Bytes
Versions: 4
Compression:
Stored size: 656 Bytes
Contents
require 'test/unit' require 'mocha' require 'ruby-debug' require 'shoulda' require 'factory_girl' require 'active_record' require 'mongo_mapper' MongoMapper.database = 'bigamy-test' ActiveRecord::Base.establish_connection :adapter => 'mysql', :database => 'bigamy_test', :username => 'root', :password => 'ryan' ActiveRecord::Migration.execute 'drop table if exists users' ActiveRecord::Migration.create_table :users do |t| t.string :name t.integer :id t.string :doc_id end class Doc include MongoMapper::Document end class User < ActiveRecord::Base end Other = User $:.unshift File.join(File.dirname(__FILE__), '..', 'lib') require 'bigamy'
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
bigamy-0.2.2 | test/test_helper.rb |
bigamy-0.2.1 | test/test_helper.rb |
bigamy-0.2.0 | test/test_helper.rb |
bigamy-0.1.2 | test/test_helper.rb |