Corrected array error, now rspec in loop