spec/plugin/run_handler_spec.rb in roda-2.29.0 vs spec/plugin/run_handler_spec.rb in roda-3.0.0
- old
+ new
@@ -1,5 +1,5 @@
-require File.expand_path("spec_helper", File.dirname(File.dirname(__FILE__)))
+require_relative "../spec_helper"
describe "run_handler plugin" do
it "makes r.run :not_found=>:pass keep going on 404" do
pr = proc{|env| [(env['PATH_INFO'] == '/a' ? 404 : 201), {}, ['b']]}
app(:run_handler) do |r|