Testing rails 3