diff options
author | Paula McMaw <paula@puppet.com> | 2017-03-03 15:25:53 +0000 |
---|---|---|
committer | Paula McMaw <paula@puppet.com> | 2017-03-03 15:33:37 +0000 |
commit | 2f463600c2c0b6ac95ec71d3e5b17d1b2abdcd22 (patch) | |
tree | 68ec310d43b889a5bb5ea7c9a551d4dd299ef1d0 /spec/functions/seeded_rand_spec.rb | |
parent | 2fa8b2b6387aa59d8cc10e521e069e02477a186b (diff) |
(FM-6063) - Unit tests for high effort functions
Diffstat (limited to 'spec/functions/seeded_rand_spec.rb')
-rw-r--r-- | spec/functions/seeded_rand_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/functions/seeded_rand_spec.rb b/spec/functions/seeded_rand_spec.rb index 38e134e..ac108f4 100644 --- a/spec/functions/seeded_rand_spec.rb +++ b/spec/functions/seeded_rand_spec.rb @@ -50,4 +50,9 @@ describe 'seeded_rand' do scope.function_seeded_rand([max, seed]) end + + context 'should run with UTF8 and double byte characters' do + it { is_expected.to run.with_params(1000, 'ǿňè')} + it { is_expected.to run.with_params(1000, '文字列')} + end end |