Fixed test.

This commit is contained in:
Martin Edenhofer 2016-06-25 23:01:07 +02:00
parent 4baa1c9410
commit d3c86e9109

View file

@ -104,7 +104,7 @@ class HistoryTest < ActiveSupport::TestCase
owner_id: current_user.id, owner_id: current_user.id,
}, },
article: { article: {
from: 'Unit 2 Test 2 <unittest@example.com>', body: 'Unit Test 123 - 2',
}, },
}, },
history_check: [ history_check: [
@ -140,9 +140,9 @@ class HistoryTest < ActiveSupport::TestCase
result: true, result: true,
history_object: 'Ticket::Article', history_object: 'Ticket::Article',
history_type: 'updated', history_type: 'updated',
history_attribute: 'from', history_attribute: 'body',
value_from: 'Unit Test <unittest@example.com>', value_from: 'Unit Test 123',
value_to: 'Unit 2 Test 2 <unittest@example.com>', value_to: 'Unit Test 123 - 2',
}, },
] ]
}, },