summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab
diff options
context:
space:
mode:
authorBob Van Landuyt <bob@vanlanduyt.co>2017-09-03 19:32:07 +0200
committerBob Van Landuyt <bob@vanlanduyt.co>2017-09-04 08:30:10 +0200
commit7199e882dba1f664ff2d5b889428c086dce7827d (patch)
tree6ca4728b9e40f47be98c3307929eefc54659efa3 /spec/lib/gitlab
parenta3af683045e0170d975eab2562a466f88d2692b8 (diff)
downloadgitlab-ce-7199e882dba1f664ff2d5b889428c086dce7827d.tar.gz
Only require `simple_po_parser` in rake task that needs itbvl-only-require-po-parser-in-rake
That way we don't need to install it in production, since it's really not needed there.
Diffstat (limited to 'spec/lib/gitlab')
-rw-r--r--spec/lib/gitlab/i18n/po_linter_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/lib/gitlab/i18n/po_linter_spec.rb b/spec/lib/gitlab/i18n/po_linter_spec.rb
index cd5c2b99751..3a962ba7f22 100644
--- a/spec/lib/gitlab/i18n/po_linter_spec.rb
+++ b/spec/lib/gitlab/i18n/po_linter_spec.rb
@@ -1,4 +1,5 @@
require 'spec_helper'
+require 'simple_po_parser'
describe Gitlab::I18n::PoLinter do
let(:linter) { described_class.new(po_path) }