examples/relevance/tarantula/transform_example.rb in tarantula-0.1.5 vs examples/relevance/tarantula/transform_example.rb in tarantula-0.1.8

- 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::Transform" do it "can do a simple replace" do t = Relevance::Tarantula::Transform.new(/\w/, ".") t["hello world"].should == "..... ....." \ No newline at end of file