spec/plugin/pass_spec.rb in roda-2.29.0 vs spec/plugin/pass_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 "pass plugin" do
it "skips the current block if pass is called" do
app(:pass) do |r|
r.root do