Fix randomly failing spec.

This commit is contained in:
Guo Xiang Tan 2016-09-30 05:16:09 +08:00
parent 9859bfb072
commit cde18834f8

View File

@ -20,7 +20,7 @@ describe ExtraLocalesController do
end
it "should include plugin translations" do
JsLocaleHelper.expects(:plugin_translations).with("en").returns({
JsLocaleHelper.expects(:plugin_translations).with(I18n.locale.to_s).returns({
"admin_js" => {
"admin" => {
"site_settings" => {