projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/master' into 2884-improved-picker
[arvados.git]
/
services
/
api
/
test
/
functional
/
arvados
/
v1
/
links_controller_test.rb
diff --git
a/services/api/test/functional/arvados/v1/links_controller_test.rb
b/services/api/test/functional/arvados/v1/links_controller_test.rb
index dfce78b13f7f79c4f5927bbbda749882758071c6..d5b42665c38b8599c5fa0e3bc088d851469f4f33 100644
(file)
--- a/
services/api/test/functional/arvados/v1/links_controller_test.rb
+++ b/
services/api/test/functional/arvados/v1/links_controller_test.rb
@@
-271,11
+271,11
@@
class Arvados::V1::LinksControllerTest < ActionController::TestCase
end
test "refuse duplicate name" do
end
test "refuse duplicate name" do
- the_name = links(:job_name_in_a
folder
).name
- the_
folder = links(:job_name_in_afolder
).tail_uuid
+ the_name = links(:job_name_in_a
project
).name
+ the_
project = links(:job_name_in_aproject
).tail_uuid
authorize_with :active
post :create, link: {
authorize_with :active
post :create, link: {
- tail_uuid: the_
folder
,
+ tail_uuid: the_
project
,
head_uuid: specimens(:owned_by_active_user).uuid,
link_class: 'name',
name: the_name,
head_uuid: specimens(:owned_by_active_user).uuid,
link_class: 'name',
name: the_name,