This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (em/defsnippit snippit1 "templates/template1.html" [:tbody :> 'first-child] | |
| [fruit quantity] | |
| [:tr :> 'first-child] (ef/content fruit) | |
| [:tr :> 'last-child] (ef/content (str quantity))) | |
| (em/deftemplate template1 "/templates/template1.html" [fruit-data] | |
| [:#heading1] (ef/content "fruit") | |
| [:thead :tr :> 'last-child] (ef/content "quantity") | |
| [:tbody] (ef/content |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (deftest test-do-register | |
| (let [uname "username" | |
| lngname "thisisalongusername" | |
| bname "$#%^$djc" | |
| pwd "password" | |
| shpwd "pass" | |
| email "test@test.com" | |
| bemail "testing.com"] |
NewerOlder