examples/relevance/tarantula/crawler_example.rb in relevance-tarantula-0.1.5 vs examples/relevance/tarantula/crawler_example.rb in relevance-tarantula-0.1.6
- old
+ new
@@ -1,5 +1,5 @@
-require File.join(File.dirname(__FILE__), "..", "..", "example_helper.rb")
+require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "example_helper.rb"))
describe 'Relevance::Tarantula::Crawler#transform_url' do
before {@crawler = Relevance::Tarantula::Crawler.new}
it "de-obfuscates unicode obfuscated urls" do
obfuscated_mailto = "mailto:"