Sha256: 9e24d1a2fd9aad9f0ad65413f235864161ed53a169faad09eda653b6d57b7fbb
Contents?: true
Size: 656 Bytes
Versions: 7
Compression:
Stored size: 656 Bytes
Contents
# frozen_string_literal: true require 'i18n/tasks' RSpec.describe 'I18n', type: :i18n do let(:i18n) { I18n::Tasks::BaseTask.new } let(:missing_keys) { i18n.missing_keys } let(:unused_keys) { i18n.unused_keys } it 'does not have missing keys' do expect(missing_keys).to be_empty, "Missing #{missing_keys.leaves.count} i18n keys, run `i18n-tasks missing' to show them" end it 'does not have unused keys' do pending 'Many unused keys are detected' expect(unused_keys).to be_empty, "#{unused_keys.leaves.count} unused i18n keys, run `i18n-tasks unused' to show them" end end
Version data entries
7 entries across 7 versions & 2 rubygems