Guest User

Untitled

a guest
Feb 25th, 2014
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (fact "get a list of usernames and password (also test if usernames are unique)"
  2.              pw "sv" role "free"]
  3.          (for [mail mails] (user/create-user mail pw role))
  4.          (let [found-ids (count (d/q '[:find ?c :where [?c :user/email]] (dbc)))]
  5.            found-ids => 4
  6.            )
  7.          ))
Advertisement
Add Comment
Please, Sign In to add comment