replace Ticket.create! by FactoryGirl.create(:ticket)