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

Version Path
deploygate-0.9.1 spec/deploygate/i18n_spec.rb
deploygate-0.9.0 spec/deploygate/i18n_spec.rb
deploygate-0.8.6 spec/deploygate/i18n_spec.rb
deploygate-0.8.5 spec/deploygate/i18n_spec.rb
deploygate-0.8.4 spec/deploygate/i18n_spec.rb
deploygate-0.8.3 spec/deploygate/i18n_spec.rb
deploygate-0.8.2 spec/deploygate/i18n_spec.rb
deploygate-0.8.1 spec/deploygate/i18n_spec.rb
deploygate-0.8.0 spec/deploygate/i18n_spec.rb
deploygate-0.7.0 spec/deploygate/i18n_spec.rb
deploygate-0.6.8 spec/deploygate/i18n_spec.rb
deploygate-0.6.7 spec/deploygate/i18n_spec.rb
deploygate-0.6.6 spec/deploygate/i18n_spec.rb
deploygate-0.6.5 spec/deploygate/i18n_spec.rb
deploygate-0.6.4 spec/deploygate/i18n_spec.rb
deploygate-0.6.3 spec/deploygate/i18n_spec.rb
deploygate-0.6.2 spec/deploygate/i18n_spec.rb
deploygate-0.6.1 spec/deploygate/i18n_spec.rb
deploygate-0.6.0 spec/deploygate/i18n_spec.rb
deploygate-0.5.6 spec/deploygate/i18n_spec.rb