spec/plugin/multi_route_spec.rb in roda-2.0.0 vs spec/plugin/multi_route_spec.rb in roda-2.1.0

- old
+ new

@@ -168,9 +168,19 @@ body('/get').should == 'getd' body('/post').should == 'postd' end end +describe "multi_route plugin" do + it "r.multi_route works even without routes defined" do + app(:multi_route) do |r| + r.multi_route + 'a' + end + body.should == 'a' + end +end + describe "multi_route plugin" do before do app(:bare) do plugin :multi_route