Fixed test, in case of web form, use also email in from to be able to reply.
This commit is contained in:
parent
36fd9d20b9
commit
0c4bf9f5ca
1 changed files with 1 additions and 1 deletions
|
@ -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 <tickets-customer1@example.com>', result['from'])
|
||||
assert_equal('some subject', result['subject'])
|
||||
assert_equal('some body', result['body'])
|
||||
assert_equal('text/plain', result['content_type'])
|
||||
|
|
Loading…
Reference in a new issue