Skip to content

Commit

Permalink
revert array of symbols syntax (backward compatibility with 1.9)
Browse files Browse the repository at this point in the history
  • Loading branch information
deric committed May 19, 2017
1 parent 8db7cac commit 747e4b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/functions/accounts_group_members_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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' => []},
}
Expand All @@ -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]']
},
}
Expand Down

0 comments on commit 747e4b4

Please sign in to comment.