@@ -338,6 +338,7 @@ describe('POST /instances', function () {
338338 env : json . env ,
339339 owner : {
340340 github : ctx . user . json ( ) . accounts . github . id ,
341+ gravatar : ctx . user . json ( ) . accounts . github . avatar_url ,
341342 username : ctx . user . json ( ) . accounts . github . login
342343 } ,
343344 public : false ,
@@ -374,6 +375,7 @@ describe('POST /instances', function () {
374375 env : [ 'ONE=1' ] ,
375376 owner : {
376377 github : ctx . user . json ( ) . accounts . github . id ,
378+ gravatar : ctx . user . json ( ) . accounts . github . avatar_url ,
377379 username : ctx . user . json ( ) . accounts . github . login
378380 } ,
379381 public : false ,
@@ -417,6 +419,7 @@ describe('POST /instances', function () {
417419 name : 'Instance1' ,
418420 owner : {
419421 github : ctx . user . json ( ) . accounts . github . id ,
422+ gravatar : ctx . user . json ( ) . accounts . github . avatar_url ,
420423 username : ctx . user . json ( ) . accounts . github . login
421424 } ,
422425 public : false ,
@@ -442,6 +445,7 @@ describe('POST /instances', function () {
442445 name : 'Instance1' ,
443446 owner : {
444447 github : ctx . user2 . json ( ) . accounts . github . id ,
448+ gravatar : ctx . user2 . json ( ) . accounts . github . avatar_url ,
445449 username : ctx . user2 . json ( ) . accounts . github . login
446450 } ,
447451 public : false ,
@@ -481,6 +485,7 @@ describe('POST /instances', function () {
481485 build : ctx . build2 . id ( ) ,
482486 owner : {
483487 github : ctx . user . attrs . accounts . github . id ,
488+ gravatar : ctx . user . json ( ) . accounts . github . avatar_url ,
484489 username : ctx . user . attrs . accounts . github . login
485490 }
486491 } ;
@@ -510,6 +515,7 @@ describe('POST /instances', function () {
510515 name : 'Instance1' , // uuid is used in multi.createInstance
511516 owner : {
512517 github : ctx . user . json ( ) . accounts . github . id ,
518+ gravatar : ctx . user . json ( ) . accounts . github . avatar_url ,
513519 username : ctx . user . json ( ) . accounts . github . login
514520 } ,
515521 public : false ,
0 commit comments