diff options
author | Dave Arter <davea@mysociety.org> | 2016-10-17 16:52:49 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-10-19 14:44:55 +0100 |
commit | 58684be7a9b8fec8c90e6f94ecea0c21c3ae5e59 (patch) | |
tree | 446805366b3a8bc7181db5bc24180916f3c64d37 /t | |
parent | 9756df6ab27f96d4f466ee98722baaf7e751c34f (diff) |
Add ‘description’ field to ResponsePriority model
Used internally to provide more details about when a priority is applicable.
Diffstat (limited to 't')
-rw-r--r-- | t/app/controller/admin.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/app/controller/admin.t b/t/app/controller/admin.t index 7ba84b652..a0e013459 100644 --- a/t/app/controller/admin.t +++ b/t/app/controller/admin.t @@ -1453,6 +1453,7 @@ subtest "response priorities can be added" => sub { my $fields = { name => "Cat 1A", + description => "Fixed within 24 hours", deleted => undef, "contacts[".$oxfordshirecontact->id."]" => 1, }; @@ -1466,6 +1467,7 @@ subtest "response priorities can be listed" => sub { $mech->get_ok( "/admin/responsepriorities/" . $oxfordshire->id ); $mech->content_contains( $oxfordshire->response_priorities->first->name ); + $mech->content_contains( $oxfordshire->response_priorities->first->description ); }; subtest "response priorities are limited by body" => sub { |