pend i18n spec in rails 3
until rails 3 becomes the default, at which point we should regenerate _core_en.js, and pend it for rails 2 Change-Id: I2956965832545ccd8bca847638c6ca7ed4d5e5bd Reviewed-on: https://gerrit.instructure.com/31515 Reviewed-by: James Williams <jamesw@instructure.com> Tested-by: Jenkins <jenkins@instructure.com> Product-Review: Cody Cutrer <cody@instructure.com> QA-Review: Cody Cutrer <cody@instructure.com>
This commit is contained in:
parent
ebb2dbad91
commit
a8a6167884
|
@ -100,6 +100,7 @@ describe I18n do
|
|||
context "_core_en.js" do
|
||||
it "should be up-to-date" do
|
||||
pending('RAILS_LOAD_ALL_LOCALES=true') unless ENV['RAILS_LOAD_ALL_LOCALES']
|
||||
pending('cannot pass in both rails 2 and rails 3') unless CANVAS_RAILS2
|
||||
translations = {'en' => I18n.backend.direct_lookup('en').slice(*I18n::Utils::CORE_KEYS)}
|
||||
|
||||
# HINT: if this spec fails, run `rake i18n:generate_js`...
|
||||
|
|
Loading…
Reference in New Issue