Sha256: 0e3e77c9553e3add3b46720b7f98066244a515cb85746f785972929b2d1329f7
Contents?: true
Size: 795 Bytes
Versions: 3
Compression:
Stored size: 795 Bytes
Contents
require 'rubygems' require 'activerecord' require 'test/unit' require 'context' #gem install jeremymcanally-context -s http://gems.github.com require 'matchy' #gem install jeremymcanally-matchy -s http://gems.github.com $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require File.join(File.dirname(__FILE__), '..', 'init') #Setup logger require 'logger' ActiveRecord::Base.logger = Logger.new(STDERR) ActiveRecord::Base.logger.level = Logger::WARN #Setup db ActiveRecord::Base.configurations = {'sqlite3' => {:adapter => 'sqlite3', :database => ':memory:'}} ActiveRecord::Base.establish_connection('sqlite3') #Define schema require File.join(File.dirname(__FILE__), 'schema') class TaggableModel < ActiveRecord::Base has_machine_tags end class Test::Unit::TestCase end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
cldwalker-has_machine_tags-0.1.2 | test/test_helper.rb |
cldwalker-has_machine_tags-0.1.3 | test/test_helper.rb |
cldwalker-has_machine_tags-0.1.4 | test/test_helper.rb |