From a96d288d486f1335e1706a3da0727c837794d066 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 10 Apr 2015 21:37:36 +0200 Subject: [PATCH] Added article count test. --- test/integration/otrs_import_test.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/integration/otrs_import_test.rb b/test/integration/otrs_import_test.rb index a902763b2..b777fa332 100644 --- a/test/integration/otrs_import_test.rb +++ b/test/integration/otrs_import_test.rb @@ -36,6 +36,7 @@ class OtrsImportTest < ActiveSupport::TestCase # check count of imported items test 'check counts' do assert_equal( 603, Ticket.count, 'tickets' ) + assert_equal( 3182, Ticket::Article.count, 'ticket articles' ) assert_equal( 10, Ticket::State.count, 'ticket states' ) assert_equal( 24, Group.count, 'groups' ) end