diff options
author | Paula McMaw <paula@puppet.com> | 2017-02-01 11:47:09 +0000 |
---|---|---|
committer | Paula McMaw <paula@puppet.com> | 2017-02-02 13:36:06 +0000 |
commit | 20855b9d24de7a8b02b7f5beb70a16139a6c3d74 (patch) | |
tree | 3e9c24ad8856ee768c98edb0cc2ce340824e11f7 /spec/functions/any2array_spec.rb | |
parent | db8c1fbb2394d93fe3156b17c840455f1b3e2c76 (diff) |
(FM-6019) - [WIP] - i18N tests for Spike
Diffstat (limited to 'spec/functions/any2array_spec.rb')
-rwxr-xr-x | spec/functions/any2array_spec.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/functions/any2array_spec.rb b/spec/functions/any2array_spec.rb index 70121f1..631657f 100755 --- a/spec/functions/any2array_spec.rb +++ b/spec/functions/any2array_spec.rb @@ -12,4 +12,10 @@ describe "any2array" do it { is_expected.to run.with_params({}).and_return([]) } it { is_expected.to run.with_params({ 'key' => 'value' }).and_return(['key', 'value']) } it { is_expected.to run.with_params({ 'key' => 'value' }).and_return(['key', 'value']) } + + it { is_expected.to run.with_params('‰').and_return(['‰']) } + it { is_expected.to run.with_params('竹').and_return(['竹']) } + it { is_expected.to run.with_params('Ü').and_return(['Ü']) } + it { is_expected.to run.with_params('∇').and_return(['∇']) } + it { is_expected.to run.with_params('€', '万', 'Ö', '♥', '割').and_return(['€', '万', 'Ö', '♥', '割']) } end |