This question already has an answer here:
Let's suppose that a single battery is connected with a wire, which does not have resistance. Electrons will start to flow , in reality, with a wire with resistance, a potential difference would be generated across it. The current would build up until the potential difference is equal to the voltage of the battery. In the case in which potential difference is not created by the wire because there is no resistivity, the potential difference across will immediately become equal to that of the battery.