@@ -26,10 +26,10 @@ def loop_times(times)
2626 @created_users = [ ]
2727
2828 @fellowship_of_the_ring = [
29- { id : 'frodo-baggins' , name : 'Frodo Baggins' , race : 'Hobbit' , age : 50 } ,
30- { id : 'sam-gamgee' , name : 'Samwise Gamgee' , race : 'Hobbit' , age : 38 } ,
31- { id : 'gandalf' , name : 'Gandalf the Grey' , race : 'Istari' } ,
32- { id : 'legolas' , name : 'Legolas' , race : 'Elf' , age : 500 }
29+ { id : SecureRandom . uuid , name : 'Frodo Baggins' , race : 'Hobbit' , age : 50 } ,
30+ { id : SecureRandom . uuid , name : 'Samwise Gamgee' , race : 'Hobbit' , age : 38 } ,
31+ { id : SecureRandom . uuid , name : 'Gandalf the Grey' , race : 'Istari' } ,
32+ { id : SecureRandom . uuid , name : 'Legolas' , race : 'Elf' , age : 500 }
3333 ]
3434 @client . upsert_users ( @fellowship_of_the_ring )
3535
@@ -38,7 +38,7 @@ def loop_times(times)
3838
3939 @channel = @client . channel ( 'team' , channel_id : channel_id ,
4040 data : { members : @fellowship_of_the_ring . map { |fellow | fellow [ :id ] } } )
41- @channel . create ( 'gandalf' )
41+ @channel . create ( @fellowship_of_the_ring [ 2 ] [ :id ] )
4242 end
4343
4444 before ( :each ) do
0 commit comments