From 58684be7a9b8fec8c90e6f94ecea0c21c3ae5e59 Mon Sep 17 00:00:00 2001 From: Dave Arter Date: Mon, 17 Oct 2016 16:52:49 +0100 Subject: =?UTF-8?q?Add=20=E2=80=98description=E2=80=99=20field=20to=20Resp?= =?UTF-8?q?onsePriority=20model?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Used internally to provide more details about when a priority is applicable. --- t/app/controller/admin.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 't/app/controller') 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 { -- cgit v1.2.3