diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-13 12:42:32 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-13 12:42:32 +0100 |
commit | 76715723f615a5858587586df395072745f9e5cb (patch) | |
tree | e20adac83ca5a01ff211b3fff4e0943e214df23d /t/app/controller/contact.t | |
parent | 959acf33e06ea8ea3bae7fa89e800dfd8c45621e (diff) |
make problem report date pretty
Diffstat (limited to 't/app/controller/contact.t')
-rw-r--r-- | t/app/controller/contact.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/app/controller/contact.t b/t/app/controller/contact.t index 60e330776..d4c31bd20 100644 --- a/t/app/controller/contact.t +++ b/t/app/controller/contact.t @@ -24,6 +24,7 @@ subtest 'check reporting a problem displays correctly' => sub { title => 'Some problem or other', detail => 'More detail on the problem', postcode => 'EH99 1SP', + confirmed => '2011-05-04 10:44:28.145168', latitude => 0, longitude => 0, areas => 0, @@ -41,6 +42,7 @@ subtest 'check reporting a problem displays correctly' => sub { $mech->content_contains( 'reporting the following problem' ); $mech->content_contains( 'Some problem or other' ); $mech->content_contains( 'Reported by A User' ); + $mech->content_contains( 'Reported by A User at 10:44, Wednesday 4 May 2011' ); $problem->delete; }; |