in spec/fetch_version_number_stubs.rb [13:19]
def stub_get_releases_429
success_json = JSON.parse(File.read("spec/fixtures/releases/valid_release_response.json"))
stub_request(:get, "https://api.appcenter.ms/v0.1/apps/owner-name/App-Name/releases")
.to_return(status: 429, headers: { 'Content-Type' => 'application/json' }).then
.to_return(status: 200, body: success_json.to_json, headers: { 'Content-Type' => 'application/json' })
end