Sha256: 139229fc12ba3473b8821def829913e218e677413dbe1c21748efac636503b2b
Contents?: true
Size: 488 Bytes
Versions: 38
Compression:
Stored size: 488 Bytes
Contents
require 'spec_helper' require 'i18n/tasks' describe 'I18n' do let(:i18n) { I18n::Tasks::BaseTask.new } it 'does not have missing keys' do count = i18n.missing_keys.count fail "There are #{count} missing i18n keys! Run 'i18n-tasks missing' for more details." unless count.zero? end it 'does not have unused keys' do count = i18n.unused_keys.count fail "There are #{count} unused i18n keys! Run 'i18n-tasks unused' for more details." unless count.zero? end end
Version data entries
38 entries across 38 versions & 1 rubygems