Fixed test.

This commit is contained in:
Martin Edenhofer 2017-02-10 16:16:18 +01:00
parent 0b48c76cce
commit 023db6dfbe

View file

@ -109,6 +109,7 @@ RSpec.describe Translation do
end end
it 'check download of translations' do it 'check download of translations' do
version = Version.get
locale = 'de-de' locale = 'de-de'
directory = Rails.root.join('config/translations') directory = Rails.root.join('config/translations')
if File.directory?(directory) if File.directory?(directory)