examples/relevance/tarantula/io_reporter_example.rb in tarantula-0.1.5 vs examples/relevance/tarantula/io_reporter_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::IOReporter' do
it "reports errors to stderr and then raises" do
reporter = Relevance::Tarantula::IOReporter.new($stderr)
reporter.report stub(:code => "404", :url => "/uh-oh", :success => false)