diff options
author | Paula McMaw <paula@puppet.com> | 2017-02-21 15:39:46 +0000 |
---|---|---|
committer | Paula McMaw <paula@puppet.com> | 2017-02-21 15:39:46 +0000 |
commit | 2cc0d66c76895583f5b0c7c38b88d2bc6af8b4f9 (patch) | |
tree | 67f187eacf4a8c78049af4189751a4c3a91bfe5b | |
parent | f564377492018de351b365f4205d422d41d2865b (diff) |
Adding unit test for i18n concat function
-rwxr-xr-x | spec/functions/concat_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/functions/concat_spec.rb b/spec/functions/concat_spec.rb index eb76233..0e67a60 100755 --- a/spec/functions/concat_spec.rb +++ b/spec/functions/concat_spec.rb @@ -12,6 +12,7 @@ describe 'concat' do it { is_expected.to run.with_params(['1','2'],['3','4'],['5','6']).and_return(['1','2','3','4','5','6']) } it { is_expected.to run.with_params(['1','2'],'3','4',['5','6']).and_return(['1','2','3','4','5','6']) } it { is_expected.to run.with_params([{"a" => "b"}], {"c" => "d", "e" => "f"}).and_return([{"a" => "b"}, {"c" => "d", "e" => "f"}]) } + it { is_expected.to run.with_params(['ấ','β','c'],['đ','ể','ƒ']).and_return(['ấ','β','c','đ','ể','ƒ']) } it "should leave the original array intact" do argument1 = ['1','2','3'] |