nickel 0.11.0

An express.js inspired web framework
Documentation
use util::{run_example, read_url};

static EXPECTED : &'static str ="
<html>
    <head>
        <title>
            nickel.rs - example
        </title>
    </head>
    <body>
    <h1>
        Hello user!
    </h1>
    </body>
</html>";

#[test]
fn renders_data() {
    run_example("template", |port| {
        let url = format!("http://localhost:{}/", port);
        let s = read_url(&url);

        assert_eq!(s.trim(), EXPECTED.trim());
    })
}