From 0c4bf9f5ca7ccabcb544f6673a0a422c2fd5c29e Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Thu, 6 Oct 2016 19:34:35 +0200 Subject: [PATCH] Fixed test, in case of web form, use also email in from to be able to reply. --- test/controllers/tickets_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/controllers/tickets_controller_test.rb b/test/controllers/tickets_controller_test.rb index ac7fa1a5a..21b8ccee5 100644 --- a/test/controllers/tickets_controller_test.rb +++ b/test/controllers/tickets_controller_test.rb @@ -744,7 +744,7 @@ class TicketsControllerTest < ActionDispatch::IntegrationTest result = JSON.parse(@response.body) assert_equal(Hash, result.class) assert_equal(ticket.id, result['ticket_id']) - assert_equal('Tickets Customer1', result['from']) + assert_equal('Tickets Customer1 ', result['from']) assert_equal('some subject', result['subject']) assert_equal('some body', result['body']) assert_equal('text/plain', result['content_type'])