That worked!  Thanks!

On Sep 28, 8:18 am, Matt <macourt...@gmail.com> wrote:
> Try:
>
> <code>
> (deftest test-add
>   (add { :controller controller-name :action "add" }))
> </code>
>
> Let me know if that works. In the tutorial, I guess I should be more
> clear on what to change.
>
> -Matt Courtney
>
> On Sep 27, 9:50 am, Warren <warrenthomasw...@yahoo.com> wrote:
>
> > I worked through the Conjure tutorial.  Very cool.  On the last page,
> > on the testing framework, I added
>
> > <code>
> > (deftest test-add
> >   (show { :controller controller-name :action "add" }))
> > </code>
>
> > and when I run tests I get
>
> > <code>
> > ERROR in (test-add) (test_is.clj:870)
> > Uncaught exception, not in assertion.
> > expected: nil
> >   actual: java.lang.IllegalArgumentException: Wrong number of args
> > passed to: add$render-view
> >  at clojure.lang.AFn.throwArity (AFn.java:449)
> >     clojure.lang.AFn.invoke (AFn.java:56)
> >     clojure.lang.AFn.applyToHelper (AFn.java:175)
> >     clojure.lang.AFn.applyTo (AFn.java:164)
> > ...
> > </code>
>
> > What am I doing wrong?
>
> > thanks,
>
> > Warren
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to