examples/relevance/tarantula/attack_handler_example.rb in tarantula-0.1.5 vs examples/relevance/tarantula/attack_handler_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::AttackHandler" do
before do
@handler = Relevance::Tarantula::AttackHandler.new
attack = Relevance::Tarantula::Attack.new({:name => 'foo_name', :input => 'foo_code', :output => '<bad>'})