FIX: Broken locale specs

This commit is contained in:
Robin Ward 2014-08-20 15:01:31 -04:00
parent 55c01d3320
commit 268ea0206e
1 changed files with 1 additions and 0 deletions

View File

@ -88,6 +88,7 @@ describe JsLocaleHelper do
it "generates valid date helpers for #{locale[:value]} locale" do
js = JsLocaleHelper.output_locale(locale[:value])
ctx = V8::Context.new
ctx.eval('var window = this;')
ctx.load(Rails.root + 'app/assets/javascripts/locales/i18n.js')
ctx.eval(js)
end