spec/request_spec.rb in roda-2.29.0 vs spec/request_spec.rb in roda-3.0.0
- old
+ new
@@ -1,5 +1,5 @@
-require File.expand_path("spec_helper", File.dirname(__FILE__))
+require_relative "spec_helper"
describe "request.path, .remaining_path, and .matched_path" do
it "should return the script name and path_info as a string" do
app do |r|
r.on "foo" do