Sha256: aac75c59e4df4b63b4e210e155aad4fcb3846a02b4b7dde836879eb6357a469e
Contents?: true
Size: 642 Bytes
Versions: 2
Compression:
Stored size: 642 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 $:.unshift File.join(File.dirname(__FILE__), '..', 'lib') require 'bigamy'
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bigamy-0.1.1 | test/test_helper.rb |
bigamy-0.1.0 | test/test_helper.rb |