stub_get_releases_empty_success

in spec/fetch_version_number_stubs.rb [20:25]


def stub_get_releases_empty_success(status)
  success_json = JSON.parse(File.read("spec/fixtures/releases/valid_release_empty_response.json"))
  stub_request(:get, "https://api.appcenter.ms/v0.1/apps/owner-name/App-Name-no-versions/releases")
    .to_return(status: status, body: success_json.to_json, headers: { 'Content-Type' => 'application/json' })
end