Skip to content

Commit 3a031c3

Browse files
committed
Can't move routes to other orgs if the space has the same name as owner space
Update spec
1 parent 543d248 commit 3a031c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/unit/actions/route_transfer_owner_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module VCAP::CloudController
5252
context 'target space has the same name as the owning space' do
5353
it 'makes the target space with the same name the new owner' do
5454
RouteTransferOwner.transfer(route, target_space_dup_name, user_audit_info)
55-
expect(route.space.id).to eq target_space.id
55+
expect(route.space.id).to eq target_space_dup_name.id
5656
end
5757
end
5858

0 commit comments

Comments
 (0)