Skip to content

Instantly share code, notes, and snippets.

@joshuawscott
Created February 8, 2017 19:17
Show Gist options
  • Save joshuawscott/5ef1c47ea59dfa8721b449420a24919d to your computer and use it in GitHub Desktop.
Save joshuawscott/5ef1c47ea59dfa8721b449420a24919d to your computer and use it in GitHub Desktop.
Pending: (Failures listed here are expected and do not affect your suite's status)
1) AppNexus Advertiser writeme, testme, useme
# Not yet implemented
# ./spec/integration/advertiser_spec.rb:4
Failures:
1) AppnexusApi::Connection returns data from expiration
Failure/Error: fail "#{response.body['response']['error_code']}/#{response.body['response']['error_description']}"
RuntimeError:
INVALID_LOGIN/the username/password value is not valid
# ./lib/appnexusapi/connection.rb:36:in `login'
# ./lib/appnexusapi/connection.rb:67:in `run_request'
# ./spec/connection_spec.rb:20:in `block (2 levels) in <top (required)>'
2) AppnexusApi::CreativeService supports a get operation
Failure/Error: raise AppnexusApi::BadRequest.new(response.inspect)
AppnexusApi::BadRequest:
{"error_id"=>"SYNTAX", "error"=>"Invalid path, unknown service [advertiser]", "error_description"=>nil, "service"=>nil, "method"=>"POST", "error_code"=>nil}
# ./lib/appnexusapi/service.rb:71:in `create'
# ./spec/creative_service_spec.rb:7:in `block (2 levels) in <top (required)>'
3) AppnexusApi::CreativeService creating a new creative supports creating a new creative
Failure/Error: raise AppnexusApi::BadRequest.new(response.inspect)
AppnexusApi::BadRequest:
{"error_id"=>"SYNTAX", "error"=>"Invalid path, unknown service [advertiser]", "error_description"=>nil, "service"=>nil, "method"=>"POST", "error_code"=>nil}
# ./lib/appnexusapi/service.rb:71:in `create'
# ./spec/creative_service_spec.rb:7:in `block (2 levels) in <top (required)>'
4) AppnexusApi::CreativeService an existing creative supports changing attributes with the update action
Failure/Error: raise AppnexusApi::BadRequest.new(response.inspect)
AppnexusApi::BadRequest:
{"error_id"=>"SYNTAX", "error"=>"Invalid path, unknown service [advertiser]", "error_description"=>nil, "service"=>nil, "method"=>"POST", "error_code"=>nil}
# ./lib/appnexusapi/service.rb:71:in `create'
# ./spec/creative_service_spec.rb:7:in `block (2 levels) in <top (required)>'
5) AppnexusApi::CreativeService an existing creative supports removing the creative
Failure/Error: raise AppnexusApi::BadRequest.new(response.inspect)
AppnexusApi::BadRequest:
{"error_id"=>"SYNTAX", "error"=>"Invalid path, unknown service [advertiser]", "error_description"=>nil, "service"=>nil, "method"=>"POST", "error_code"=>nil}
# ./lib/appnexusapi/service.rb:71:in `create'
# ./spec/creative_service_spec.rb:7:in `block (2 levels) in <top (required)>'
6) campaign service campaign life cycle
Failure/Error: raise AppnexusApi::BadRequest.new(response.inspect)
AppnexusApi::BadRequest:
{"error_id"=>"SYNTAX", "error"=>"Invalid path, unknown service [advertiser]", "error_description"=>nil, "service"=>nil, "method"=>"POST", "error_code"=>nil}
# ./lib/appnexusapi/service.rb:71:in `create'
# ./spec/integration/campaign_spec.rb:10:in `block (2 levels) in <top (required)>'
7) AppNexus Content Category crud
Failure/Error: raise AppnexusApi::BadRequest.new(response.inspect)
AppnexusApi::BadRequest:
{"error_id"=>"SYSTEM", "error"=>"committing post content-category ", "error_description"=>nil, "error_code"=>"DB_UNKNOWN", "service"=>"content-category", "method"=>"POST"}
# ./lib/appnexusapi/service.rb:71:in `create'
# ./spec/integration/content_category_spec.rb:16:in `block (2 levels) in <top (required)>'
8) line items line item life cycle
Failure/Error: raise AppnexusApi::BadRequest.new(response.inspect)
AppnexusApi::BadRequest:
{"error_id"=>"SYNTAX", "error"=>"Invalid path, unknown service [advertiser]", "error_description"=>nil, "service"=>nil, "method"=>"POST", "error_code"=>nil}
# ./lib/appnexusapi/service.rb:71:in `create'
# ./spec/integration/line_item_spec.rb:9:in `block (2 levels) in <top (required)>'
9) AppNexus Site default placement
Failure/Error: default_site = @site_service.get(id: publisher.default_site_id, publisher_id: publisher.id).first
NoMethodError:
undefined method `first' for nil:NilClass
# ./spec/integration/placement_spec.rb:29:in `block (2 levels) in <top (required)>'
10) profile service profile life cycle
Failure/Error: raise AppnexusApi::BadRequest.new(response.inspect)
AppnexusApi::BadRequest:
{"error_id"=>"SYNTAX", "error"=>"Invalid path, unknown service [advertiser]", "error_description"=>nil, "service"=>nil, "method"=>"POST", "error_code"=>nil}
# ./lib/appnexusapi/service.rb:71:in `create'
# ./spec/integration/profile_spec.rb:10:in `block (2 levels) in <top (required)>'
11) AppNexus Publisher publisher life cycle
Failure/Error: super(sym, *args, &block)
NoMethodError:
undefined method `expose_domains' for #<AppnexusApi::PublisherResource:0x007f9448d8b1c8>
# ./lib/appnexusapi/resource.rb:31:in `method_missing'
# ./spec/integration/publisher_spec.rb:22:in `block (2 levels) in <top (required)>'
12) AppNexus Site site life cycle
Failure/Error: fail "#{response.body['response']['error_code']}/#{response.body['response']['error_description']}"
RuntimeError:
RATE_EXCEEDED/rate limit has been exceeded
# ./lib/appnexusapi/connection.rb:36:in `login'
# ./lib/appnexusapi/connection.rb:67:in `run_request'
# ./lib/appnexusapi/connection.rb:55:in `post'
# ./lib/appnexusapi/service.rb:68:in `create'
# ./spec/integration/site_spec.rb:23:in `block (2 levels) in <top (required)>'
13) AppNexus User returns the current user
Failure/Error: fail "#{response.body['response']['error_code']}/#{response.body['response']['error_description']}"
RuntimeError:
RATE_EXCEEDED/rate limit has been exceeded
# ./lib/appnexusapi/connection.rb:36:in `login'
# ./lib/appnexusapi/connection.rb:67:in `run_request'
# ./lib/appnexusapi/connection.rb:47:in `get'
# ./lib/appnexusapi/service.rb:44:in `get'
# ./spec/integration/user_spec.rb:10:in `current_user'
# ./spec/integration/user_spec.rb:28:in `block (2 levels) in <top (required)>'
14) AppNexus User update
Failure/Error: fail "#{response.body['response']['error_code']}/#{response.body['response']['error_description']}"
RuntimeError:
RATE_EXCEEDED/rate limit has been exceeded
# ./lib/appnexusapi/connection.rb:36:in `login'
# ./lib/appnexusapi/connection.rb:67:in `run_request'
# ./lib/appnexusapi/connection.rb:47:in `get'
# ./lib/appnexusapi/service.rb:44:in `get'
# ./spec/integration/user_spec.rb:10:in `current_user'
# ./spec/integration/user_spec.rb:38:in `block (2 levels) in <top (required)>'
15) AppnexusApi::ObjectLimitService returns info about your current creative limits
Failure/Error: fail "#{response.body['response']['error_code']}/#{response.body['response']['error_description']}"
RuntimeError:
RATE_EXCEEDED/rate limit has been exceeded
# ./lib/appnexusapi/connection.rb:36:in `login'
# ./lib/appnexusapi/connection.rb:67:in `run_request'
# ./lib/appnexusapi/connection.rb:47:in `get'
# ./lib/appnexusapi/service.rb:44:in `get'
# ./lib/appnexusapi/object_limit_service.rb:3:in `creative_limits'
# ./spec/object_limit_service_spec.rb:9:in `block (2 levels) in <top (required)>'
16) AppnexusApi::ObjectLimitService returns info about your current profile limits
Failure/Error: fail "#{response.body['response']['error_code']}/#{response.body['response']['error_description']}"
RuntimeError:
RATE_EXCEEDED/rate limit has been exceeded
# ./lib/appnexusapi/connection.rb:36:in `login'
# ./lib/appnexusapi/connection.rb:67:in `run_request'
# ./lib/appnexusapi/connection.rb:47:in `get'
# ./lib/appnexusapi/service.rb:44:in `get'
# ./lib/appnexusapi/object_limit_service.rb:7:in `profile_limits'
# ./spec/object_limit_service_spec.rb:15:in `block (2 levels) in <top (required)>'
17) AppnexusApi::ObjectLimitService returns info about your current domain list limits
Failure/Error: fail "#{response.body['response']['error_code']}/#{response.body['response']['error_description']}"
RuntimeError:
RATE_EXCEEDED/rate limit has been exceeded
# ./lib/appnexusapi/connection.rb:36:in `login'
# ./lib/appnexusapi/connection.rb:67:in `run_request'
# ./lib/appnexusapi/connection.rb:47:in `get'
# ./lib/appnexusapi/service.rb:44:in `get'
# ./lib/appnexusapi/object_limit_service.rb:11:in `domain_list_limits'
# ./spec/object_limit_service_spec.rb:20:in `block (2 levels) in <top (required)>'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment