isUserPage tests
isUserPage("/users/:id", "/users/some page").should.equal(true); isUserPage("/users/:id", "/users").should.equal(false); isUserPage("/users/:id", "/other/some").should.equal(false); isUserPage("/users/:id", "/other").should.equal(false);
Return true if the route path matches listpath/:id