2872: Rename folders to projects
[arvados.git] / services / api / test / functional / arvados / v1 / links_controller_test.rb
index dfce78b13f7f79c4f5927bbbda749882758071c6..d5b42665c38b8599c5fa0e3bc088d851469f4f33 100644 (file)
@@ -271,11 +271,11 @@ class Arvados::V1::LinksControllerTest < ActionController::TestCase
   end
 
   test "refuse duplicate name" do
-    the_name = links(:job_name_in_afolder).name
-    the_folder = links(:job_name_in_afolder).tail_uuid
+    the_name = links(:job_name_in_aproject).name
+    the_project = links(:job_name_in_aproject).tail_uuid
     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,