mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
Add test for load plurals before precompile
This commit is contained in:
parent
ae81523aa5
commit
c964c5c0d5
1 changed files with 5 additions and 0 deletions
|
@ -79,4 +79,9 @@ describe JsLocaleHelper do
|
|||
ctx.eval('I18n.messageFormat("simple_MF", {})').should =~ /COUNT/ # error
|
||||
end
|
||||
|
||||
it 'load pluralizations rules before precompile' do
|
||||
message = JsLocaleHelper.compile_message_format('ru', 'format')
|
||||
message.should_not match 'Plural Function not found'
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue