Skip to content
This repository has been archived by the owner on Nov 19, 2018. It is now read-only.

Commit

Permalink
Update certificate download stub to include teamId
Browse files Browse the repository at this point in the history
  • Loading branch information
fullsailor committed Jun 16, 2015
1 parent ee233c8 commit 509779b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/spaceship_stubbing.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def stub_certificates
to_return(status: 200, body: read_fixture_file( "list_certificates_filtered.json"), headers: {'Content-Type' => 'application/json'})

stub_request(:post, "https://developer.apple.com/account/ios/certificate/certificateContentDownload.action").
with(body: {"displayId"=>"XC5PH8DAAA", "type"=>"R58UK2EAAA"},
with(body: {"displayId"=>"XC5PH8DAAA", "type"=>"R58UK2EAAA", "teamId" => "XXXXXXXXXX"},
headers: {'Cookie'=>'myacinfo=abcdef;'}).
to_return(status: 200, body: read_fixture_file('aps_development.cer'))
stub_request(:post, "https://developer.apple.com/services-account/QH65B2/account/ios/certificate/submitCertificateRequest.action").
Expand Down Expand Up @@ -162,7 +162,7 @@ def stub_apps
config.before(:each) do

stub_request(:get, "https://developer.apple.com/membercenter/index.action").
to_return(status: 200, body: nil,
to_return(status: 200, body: nil,
headers: {'Location' => "https://idmsa.apple.com/IDMSWebAuth/login?&appIdKey=0123abcdef123123&path=%2F%2Fmembercenter%2Findex.action"}
)

Expand Down

0 comments on commit 509779b

Please sign in to comment.