diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-06-24 19:00:31 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-06-24 19:05:55 +0100 |
commit | 62ffebc89cc66d32a828ea1de8c850c3e950faa1 (patch) | |
tree | 35c457eb065d4ef1ec6f6cd072092a33b0b853d8 /perllib/FixMyStreet/TestMech.pm | |
parent | 9be7fa6404bb1acc34a07e665b8ba4675b5261db (diff) |
Sign in over login; tidy CSS.
Diffstat (limited to 'perllib/FixMyStreet/TestMech.pm')
-rw-r--r-- | perllib/FixMyStreet/TestMech.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/TestMech.pm b/perllib/FixMyStreet/TestMech.pm index 13f1b10cf..1391254b6 100644 --- a/perllib/FixMyStreet/TestMech.pm +++ b/perllib/FixMyStreet/TestMech.pm @@ -94,8 +94,8 @@ sub log_in_ok { # log in $mech->get_ok('/auth'); $mech->submit_form_ok( - { with_fields => { email => $email, password_login => 'secret' } }, - "login using form" ); + { with_fields => { email => $email, password_sign_in => 'secret' } }, + "sign in using form" ); $mech->logged_in_ok; # restore the password (if there was one) @@ -114,7 +114,7 @@ Log out the current user sub log_out_ok { my $mech = shift; - $mech->get_ok('/auth/logout'); + $mech->get_ok('/auth/sign_out'); $mech->not_logged_in_ok; } |