diff --git a/test/lib/deb_importer_test.rb b/test/lib/deb_importer_test.rb index 0a4cac4..cee922c 100644 --- a/test/lib/deb_importer_test.rb +++ b/test/lib/deb_importer_test.rb @@ -32,5 +32,9 @@ class PackagesHelperTest < ActionView::TestCase # Packages enumerator must be restarted to start from position 1 packages = release.packages('main', 'amd64') assert_equal 8320, packages.count + + # Get information from translation file + i18n = release.i18n('main', 'en') + assert_match /^Real-time strategy game of ancient warfare\n0 A\.D\./, i18n.first[:'Description-en'] end # test end # class