The spring will contract.
Reason: We know that if current passes through a wire in clockwise direction, it behaves like South pole and if it flows in anticlockwise direction, it behaves like North pole.

If we observe the enclosed figure, the current is flowing in anticlockwise direction when observed from above and clockwise if observed from below. Hence upper side will behave like north and lower like south pole. Whole of the coil will behave like N and S poles placed side by side and hence will attract each other resulting in contraction of the coil.