Fix scaffolded tests

This commit is contained in:
Michael Snoyman 2012-04-25 07:00:43 +03:00
parent d96a28a088
commit f99fe1983f

View File

@ -2,14 +2,14 @@
<ol> <ol>
<li>Now that you have a working project you should use the # <li>Now that you have a working project you should use the #
<a href="http://www.yesodweb.com/book/">Yesod book</a> to learn more. # \<a href="http://www.yesodweb.com/book/">Yesod book</a> to learn more. #
You can also use this scaffolded site to explore some basic concepts. You can also use this scaffolded site to explore some basic concepts.
<li> This page was generated by the #{handlerName} handler in # <li> This page was generated by the #{handlerName} handler in #
<em>Handler/Root.hs</em>. \<em>Handler/Root.hs</em>.
<li> The #{handlerName} handler is set to generate your site's home screen in Routes file # <li> The #{handlerName} handler is set to generate your site's home screen in Routes file #
<em>config/routes</em> <em>config/routes
<li> The HTML you are seeing now is actually composed by a number of <em>widgets</em>, # <li> The HTML you are seeing now is actually composed by a number of <em>widgets</em>, #
most of them are brought together by the <em>defaultLayout</em> function which # most of them are brought together by the <em>defaultLayout</em> function which #
@ -18,13 +18,13 @@
<li> <li>
A Widget's Html, Css and Javascript are separated in three files with the # A Widget's Html, Css and Javascript are separated in three files with the #
<em>.hamlet</em>, <em>.lucius</em> and <em>.julius</em> extensions. \<em>.hamlet</em>, <em>.lucius</em> and <em>.julius</em> extensions.
<li ##{aDomId}>If you had javascript enabled then you wouldn't be seeing this. <li ##{aDomId}>If you had javascript enabled then you wouldn't be seeing this.
<li #form> <li #form>
This is an example trivial Form. Read the # This is an example trivial Form. Read the #
<a href="http://www.yesodweb.com/book/forms">Forms chapter</a> # \<a href="http://www.yesodweb.com/book/forms">Forms chapter</a> #
on the yesod book to learn more about them. on the yesod book to learn more about them.
$maybe (info,con) <- submission $maybe (info,con) <- submission
<div .message> <div .message>
@ -35,4 +35,4 @@
<li> And last but not least, Testing. In <em>tests/main.hs</em> you will find a # <li> And last but not least, Testing. In <em>tests/main.hs</em> you will find a #
test suite that performs tests on this page. # test suite that performs tests on this page. #
You can run your tests by doing: <pre>cabal install --enable-tests && cabal test</pre> You can run your tests by doing: <pre>cabal install --enable-tests &amp;&amp; cabal test</pre>