Skip to content
Browse files

Merge pull request #20 from fmpwizard/master

Small correction on ScalaDoc for MockWeb
  • Loading branch information...
2 parents 372f062 + 2f2bcd7 commit cfe201fb25c41114dc51bef917c66c1d9d679a6e @dpp dpp committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 web/webkit/src/main/scala/net/liftweb/mockweb/MockWeb.scala
View
4 web/webkit/src/main/scala/net/liftweb/mockweb/MockWeb.scala
@@ -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>

0 comments on commit cfe201f

Please sign in to comment.
Something went wrong with that request. Please try again.