From 747e4b4fdbc8beecf741584c617ad7f1822a1ca2 Mon Sep 17 00:00:00 2001 From: Tomas Barton Date: Fri, 19 May 2017 11:18:25 +0200 Subject: [PATCH] revert array of symbols syntax (backward compatibility with 1.9) --- spec/functions/accounts_group_members_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/functions/accounts_group_members_spec.rb b/spec/functions/accounts_group_members_spec.rb index 1d4097d..25c8b61 100644 --- a/spec/functions/accounts_group_members_spec.rb +++ b/spec/functions/accounts_group_members_spec.rb @@ -34,7 +34,7 @@ { 'sudo' => {'members' => [:foo], 'require'=> ['User[foo]']}, 'bar' => {'members' => [:john],'require'=> ['User[john]']}, - 'users' => {'members' => %i[foo john], 'require'=> ['User[foo]','User[john]']}, + 'users' => {'members' => [:foo,:john], 'require'=> ['User[foo]','User[john]']}, 'foo' => {'members' => [], 'require' => []}, 'john' => {'members' => [], 'require' => []}, } @@ -54,7 +54,7 @@ 'bob' => {'members' => [], 'require'=> []}, 'sudo' => {'members' => [:bob], 'require'=> ['User[bob]']}, 'users' => { - 'members' => %i[alice bob], + 'members' => [:alice,:bob], 'require'=> ['User[alice]', 'User[bob]'] }, }