From d3c86e9109e7766c99abd44175bf795b6cb5d4d5 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sat, 25 Jun 2016 23:01:07 +0200 Subject: [PATCH] Fixed test. --- test/unit/history_test.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/unit/history_test.rb b/test/unit/history_test.rb index 73590bcff..f8061c68d 100644 --- a/test/unit/history_test.rb +++ b/test/unit/history_test.rb @@ -104,7 +104,7 @@ class HistoryTest < ActiveSupport::TestCase owner_id: current_user.id, }, article: { - from: 'Unit 2 Test 2 ', + body: 'Unit Test 123 - 2', }, }, history_check: [ @@ -140,9 +140,9 @@ class HistoryTest < ActiveSupport::TestCase result: true, history_object: 'Ticket::Article', history_type: 'updated', - history_attribute: 'from', - value_from: 'Unit Test ', - value_to: 'Unit 2 Test 2 ', + history_attribute: 'body', + value_from: 'Unit Test 123', + value_to: 'Unit Test 123 - 2', }, ] },