Fix randomly failing spec.
This commit is contained in:
parent
9859bfb072
commit
cde18834f8
|
@ -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" => {
|
||||
|
|
Loading…
Reference in New Issue