Displaying 2 results from an estimated 2 matches for "testuser001".
Did you mean:
testuser01
2006 Apr 02
1
Fixtures For Logging In
Hi,
I''m trying to write some integration tests for my app and am having some
troubles getting past the initial login.
Here is what my fixture looks like
users.yml
user_001:
id: "7"
login: testuser001,
email: testuser001@example.com,
state: 2,
password: b78d41e7ccb8da412f4f66f754121667,
password_salt: 78cKRniDIo,
password_hash_type: md5
I took the password and the salt out of the database from another test
entry that I made so I''m assuming that it should work in this example...
2006 Apr 27
6
Functional Test Problem. Nubee, please help
ALl my controllers require the user to be logged in. SO they will be
redirected to my "login" controller.
How do i login first in a functional test? Im assuming i use the setup
method to login the controller.
This is the setup method for the Activities controller functional test:
def setup
@controller = ActivitiesController.new
@request =