Sha256: c4b0e88bf27a73189e9f4cd56666b2ff5aa1c72136c3ae26abf84348f6ef1379
Contents?: true
Size: 704 Bytes
Versions: 2
Compression:
Stored size: 704 Bytes
Contents
require 'zendesk_apps_support' require 'pathname' describe ZendeskAppsSupport::I18n do it 'should translate error messages' do key_prefix = ZendeskAppsSupport::Validations::ValidationError::KEY_PREFIX ZendeskAppsSupport::I18n.t("#{key_prefix}.missing_manifest").should == 'Could not find manifest.json' end end describe 'translations' do it 'should be up-to-date' do project_root = Pathname.new(File.expand_path('../../', __FILE__)) zendesk_version = project_root.join('config/locales/translations/zendesk_apps_support.yml') standard_version = project_root.join('config/locales/en.yml') File.mtime(zendesk_version).should be <= File.mtime(standard_version) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zendesk_apps_support-1.7.0 | spec/i18n_spec.rb |
zendesk_apps_support-1.6.0 | spec/i18n_spec.rb |