package org.jooby;

import org.jooby.test.ServerFeature;
import org.junit.Test;

public class EnvRouterFeature extends ServerFeature {

  {
    use((env, conf, binder) -> {
      env.router().get("/", () -> "router");
    });

  }

  @Test
  public void envRouter() throws Exception {
    request().get("/").expect("router");
  }
}

@@ -181,17 +181,17 @@
 nv.route
-r
+s
 ().get(%22

rename router to routes fix #288