spec/plugin/pass_spec.rb in roda-2.21.0 vs spec/plugin/pass_spec.rb in roda-2.22.0
- old
+ new
@@ -11,10 +11,10 @@
r.on :id do |id|
r.pass if id == 'foo'
id
end
- r.on ":x/:y" do |x, y|
+ r.on :x, :y do |x, y|
x + y
end
end
body.must_equal 'root'