about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-17 14:02:29 -0400
committerEugen <eugen@zeonfederated.com>2017-04-17 20:02:29 +0200
commit4ed12cd89afa7ed39750f6b0f88b3de59bcf12f4 (patch)
tree29b10f540d9989174aecb010357ba1826f43fb51 /spec
parentcc1361c149465a29cc95b70b7c790287c8cc61c7 (diff)
Remove i18n_spec file (#2014)
These were being skipped with `xit`, but we also just added the `unused` task to
the CI server, and it will be caught there. That seems good enough for this,
instead of requiring a full keys check on every local spec suite run.
Diffstat (limited to 'spec')
-rw-r--r--spec/i18n_spec.rb16
1 files changed, 0 insertions, 16 deletions
diff --git a/spec/i18n_spec.rb b/spec/i18n_spec.rb
deleted file mode 100644
index 138d25569..000000000
--- a/spec/i18n_spec.rb
+++ /dev/null
@@ -1,16 +0,0 @@
-# frozen_string_literal: true
-require 'i18n/tasks'
-
-RSpec.describe 'I18n' do
-  let(:i18n)         { I18n::Tasks::BaseTask.new }
-  let(:missing_keys) { i18n.missing_keys }
-  let(:unused_keys)  { i18n.unused_keys }
-
-  xit '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
-
-  xit 'does not have unused keys' do
-    expect(unused_keys).to be_empty, "#{unused_keys.leaves.count} unused i18n keys, run `i18n-tasks unused' to show them"
-  end
-end