stub_check_app

in spec/upload_stubs.rb [0:7]


def stub_check_app(status, app_name = "app", owner_name = "owner")
  stub_request(:get, "https://api.appcenter.ms/v0.1/apps/#{owner_name}/#{app_name}")
    .to_return(
      status: status,
      headers: { 'Content-Type' => 'application/json' }
    )
end