diff options
author | Struan Donald <struan@exo.org.uk> | 2011-06-27 12:35:12 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-06-27 12:35:12 +0100 |
commit | 3d181cebab78ebe87242d4bb4a9afb48ca9aa524 (patch) | |
tree | e85b6dd08b2e264d0f46ce582d03cf68d31b9cef /t/app/controller | |
parent | a20fc533b0f10646814742f1348c5f9141217efa (diff) |
Display council name next to updates from council users
Diffstat (limited to 't/app/controller')
-rw-r--r-- | t/app/controller/report_updates.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/app/controller/report_updates.t b/t/app/controller/report_updates.t index 35e8b9e5f..16165e8ae 100644 --- a/t/app/controller/report_updates.t +++ b/t/app/controller/report_updates.t @@ -534,6 +534,8 @@ for my $test ( my $update_meta = $mech->extract_update_metas; like $update_meta->[0], qr/marked as $test->{fields}->{state}$/, 'update meta includes state change'; + like $update_meta->[0], qr{Test User \(Westminster City Council\)}, 'update meta includes council name'; + $mech->content_contains( 'Test User (<strong>Westminster City Council</strong>)', 'council name in bold'); $report->discard_changes; is $report->state, $test->{state}, 'state set'; |