Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Add withTemplateFor(...) to WebSpec #904

Closed
dchenbecker opened this Issue · 4 comments

2 participants

@dchenbecker
Collaborator

Per the discussion on http://groups.google.com/group/liftweb/browse_thread/thread/b8cbb8c20d2dd5c/5fd8108e3b54a775:


I was actually thinking that it would look like

"some test" withTemplateFor(request and/or String URL) in {
  templateResults => ... // We pass the resulting markup here, and S is initialized as well
}

So, for example

"must say hello" withTemplateFor("http://foo.com/helloWorld") in {
  _ must_== ...Hello World!...
}
@dchenbecker
Collaborator

I'm going to have to defer this until we can scope LiftRules. The new WebSpecSpec example for withTemplateFor fails because other things in the webkit build have already marked boot as complete.

@dchenbecker
Collaborator

(In [[r:63a50558864a3d70fa1de0b3cf6148122a3e07ca]]) Added withTemplateFor method to WebSpec

Closes #904

Also added example usage to WebSpecSpec

Branch: master

@dchenbecker
Collaborator

Build succeeded! Duration = 8522 seconds

I need a faster machine!

@dchenbecker dchenbecker was assigned
@etorreborre etorreborre referenced this issue from a commit in etorreborre/framework
@dchenbecker dchenbecker Added withTemplateFor method to WebSpec
Closes #904

Also added example usage to WebSpecSpec
63a5055
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.