Ruby on Rails framework test