Fix randomly failing spec.

This commit is contained in:
Guo Xiang Tan 2016-09-30 05:16:09 +08:00
parent 9859bfb072
commit cde18834f8
1 changed files with 1 additions and 1 deletions

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" => {