diff options
author | David Schmitt <david.schmitt@puppet.com> | 2017-02-21 14:01:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-21 14:01:28 +0000 |
commit | f564377492018de351b365f4205d422d41d2865b (patch) | |
tree | 5934267b1f51a0bcca1ae66c3fcb9bffe2a5860b /spec/functions/any2array_spec.rb | |
parent | cd7575c46d4c85a68b1570d73663805b4218eea3 (diff) | |
parent | 20855b9d24de7a8b02b7f5beb70a16139a6c3d74 (diff) |
Merge pull request #714 from pmcmaw/SPIKEi18N
(FM-6019) - 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 |