Added test for i18n long description
This commit is contained in:
parent
c944e1ba91
commit
10ebc63dc1
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue