Ruby on Rails test from TeamTreeHouse