Skip to content

Commit

Permalink
Run tests against 2.0 PR
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Oct 9, 2007
1 parent 02cb4cb commit 27a941c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions init.rb
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
$:.unshift "#{File.dirname(__FILE__)}/lib"
require 'active_record/acts/list'
ActiveRecord::Base.send :include, ActiveRecord::Acts::List
4 changes: 2 additions & 2 deletions test/list_test.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
require 'test/unit'

require 'rubygems'
gem 'activerecord', '>= 1.15.4.7794'
require 'active_record'

$:.unshift File.dirname(__FILE__) + '/../lib'
require File.dirname(__FILE__) + '/../init'
require "#{File.dirname(__FILE__)}/../init"

ActiveRecord::Base.establish_connection(:adapter => "sqlite3", :dbfile => ":memory:")

Expand Down

0 comments on commit 27a941c

Please sign in to comment.