Earlier this month , India 's nuclear rival , neighboring Pakistan , said it successfully test-fired a nuclear-capable cruise missile .