test/test_helper.rb in acts-as-joinable-0.1.0 vs test/test_helper.rb in acts-as-joinable-0.1.1
- old
+ new
@@ -11,9 +11,10 @@
require 'logger'
this = File.expand_path(File.dirname(__FILE__))
#ActiveRecord::Base.logger = Logger.new(STDOUT)
+# b.class.reflect_on_all_associations.detect {|i| i.name == :child_location_relationship}
require File.expand_path(File.join(this, '/../lib/acts-as-joinable'))
require File.join(this, "database")
ActsAsJoinable.models = Dir["#{this}/lib/*.rb"].collect { |f| File.basename f, '.rb' }
\ No newline at end of file