test/unit/route_test.rb in apipie-bindings-0.3.0 vs test/unit/route_test.rb in apipie-bindings-0.4.0
- old
+ new
@@ -22,10 +22,10 @@
it "should return the path as is without the params" do
route.path.must_equal "/api/architectures/:id"
end
it "should have path visible in puts" do
- out, err = capture_io { puts route }
+ out, _err = capture_io { puts route }
out.must_equal "<Route /api/architectures/:id>\n"
end
it "should have path visible in inspect" do
route.inspect.must_equal "<Route /api/architectures/:id>"