spec/plugin/unescape_path_spec.rb in roda-2.29.0 vs spec/plugin/unescape_path_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 "unescape_path_path plugin" do
it "decodes URL-encoded routing path" do
app(:unescape_path) do |r|
r.on 'b' do