From 7ac76fe935f381f7fcad26f281ffee55497559f7 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Mon, 1 Apr 2019 10:11:08 +0800 Subject: [PATCH] DEV: Remove warning. Library has already been loaded in application.rb. --- app/models/translation_override.rb | 1 - spec/components/js_locale_helper_spec.rb | 1 - 2 files changed, 2 deletions(-) diff --git a/app/models/translation_override.rb b/app/models/translation_override.rb index a2eeb1b9d72..d80e4a3d4b6 100644 --- a/app/models/translation_override.rb +++ b/app/models/translation_override.rb @@ -1,4 +1,3 @@ -require 'js_locale_helper' require "i18n/i18n_interpolation_keys_finder" class TranslationOverride < ActiveRecord::Base diff --git a/spec/components/js_locale_helper_spec.rb b/spec/components/js_locale_helper_spec.rb index 91dae20e50a..40f7c18c2a1 100644 --- a/spec/components/js_locale_helper_spec.rb +++ b/spec/components/js_locale_helper_spec.rb @@ -1,5 +1,4 @@ require 'rails_helper' -require_dependency 'js_locale_helper' require 'mini_racer' describe JsLocaleHelper do