Skip to content

Commit

Permalink
Fix generic file name in main load path.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy committed Sep 11, 2007
1 parent fe09fca commit 02cb4cb
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
4 changes: 1 addition & 3 deletions init.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
require 'list'

ActiveRecord::Base.send :include, ActiveRecord::Acts::List
ActiveRecord::Base.send :include, ActiveRecord::Acts::List
File renamed without changes.
3 changes: 1 addition & 2 deletions test/list_test.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
$:.unshift File.dirname(__FILE__) + '/../lib'

require 'test/unit'

require 'rubygems'
require 'active_record'

$:.unshift File.dirname(__FILE__) + '/../lib'
require File.dirname(__FILE__) + '/../init'

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

0 comments on commit 02cb4cb

Please sign in to comment.