Fix broken spec on rails 3.2

On the rails 3.2 the order of html atributes on link are
different from the rails 4