Skip to content

Commit

Permalink
Merge pull request #20 from fmpwizard/master
Browse files Browse the repository at this point in the history
Small correction on ScalaDoc for MockWeb
  • Loading branch information
dpp committed Feb 14, 2012
2 parents 372f062 + 2f2bcd7 commit cfe201f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/webkit/src/main/scala/net/liftweb/mockweb/MockWeb.scala
Expand Up @@ -115,13 +115,13 @@ object MockWeb {
* <pre name="code" class="scala">
* object testVar extends SessionVar[String]("Empty")
*
* val session = testS("http://foo.com/test") {
* val testSession = testS("http://foo.com/test") {
testVar("Foo!")
S.session // returns the current session
}
// A second test
testS("http://foo.com/test2", newSession = session) {
testS("http://foo.com/test2", session = testSession) {
testVar.is must_== "Foo!"
}
* </pre>
Expand Down

0 comments on commit cfe201f

Please sign in to comment.