Hi!

I have an application, which creates default admin account, when it is 
first run.
It does by calling init script in priv/init.
The script checks, if there are any admin accounts
and if there is none, than it creates one.
I wanted to test logging in, but I am getting invalid login/password with 
following line:

Database: []

Are init scripts called before running functional tests?
Can I somehow call init script manually?
If I can't. How can I ensure, that there is some data before testing starts.
(Of course my application does not permit creating admin accounts, if you 
are not admin)

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/be0ae8d0-eed7-4fcf-9256-d50bfa85c598%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to