use repo2

This commit is contained in:
carlad 2016-03-14 12:58:46 +01:00
parent 087788757f
commit 74b43d5e89

View File

@ -140,7 +140,7 @@ describe Travis::API::V3::Services::Repositories::ForOwner do
"name" => "master" },
"starred" => false }, {
"@type" => "repository",
"@href" => "/v3/repo/#{repo.id}",
"@href" => "/v3/repo/#{repo2.id}",
"@representation" => "standard",
"@permissions" => {
"read" => true,
@ -149,7 +149,7 @@ describe Travis::API::V3::Services::Repositories::ForOwner do
"star" => false,
"unstar" => false,
"create_request"=> false },
"id" => repo.id,
"id" => repo2.id,
"name" => "maximal",
"slug" => "svenfuchs/maximal",
"description" => nil,
@ -163,7 +163,7 @@ describe Travis::API::V3::Services::Repositories::ForOwner do
"@href" => "/v3/user/1" },
"default_branch" => {
"@type" => "branch",
"@href" => "/v3/repo/#{repo.id}/branch/master",
"@href" => "/v3/repo/#{repo2.id}/branch/master",
"@representation"=>"minimal",
"name" =>"master" },
"starred"=>false}]}