From a36a325fd795bce15ac1b8de44803cfc9f5ef463 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 10 Jan 2015 09:49:12 +0100 Subject: [PATCH] Improved text expression. --- test/unit/ticket_notification_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/ticket_notification_test.rb b/test/unit/ticket_notification_test.rb index d5af43081..27018e0f2 100644 --- a/test/unit/ticket_notification_test.rb +++ b/test/unit/ticket_notification_test.rb @@ -410,7 +410,7 @@ class TicketNotificationTest < ActiveSupport::TestCase assert_match( /Priority/, template[:body] ) assert_match( /1 low/, template[:body] ) assert_match( /2 normal/, template[:body] ) - assert_match( /update/, template[:subject] ) + assert_match( /updated/i, template[:subject] ) # en notification body = NotificationFactory.build(