Rspec for populating an array of shares