test/test_helper.rb in crawlable-0.0.1.7 vs test/test_helper.rb in crawlable-0.0.1.8
- old
+ new
@@ -11,9 +11,10 @@
this = File.expand_path(File.dirname(__FILE__))
require File.expand_path(File.join(this, '/../lib/crawlable'))
Dir["#{this}/lib/*"].each { |c| require c if File.extname(c) == ".rb" }
+require "#{this}/feeds"
require File.expand_path(File.join(File.dirname(__FILE__), '/../lib/crawlable'))
ActiveRecord::Base.class_eval do
def self.detonate
all.map(&:destroy)