[ARVADOS] updated: 52a9e646ea8247d5e1446ab98ba72ab2edb5c703

git at public.curoverse.com git at public.curoverse.com
Thu Apr 16 18:06:18 EDT 2015


Summary of changes:
 apps/workbench/test/integration/anonymous_access_test.rb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  52a9e646ea8247d5e1446ab98ba72ab2edb5c703 (commit)
      from  b0ec95277b9be2bcbe8e35008f490855a98cd70e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 52a9e646ea8247d5e1446ab98ba72ab2edb5c703
Author: Radhika Chippada <radhika at curoverse.com>
Date:   Thu Apr 16 18:05:53 2015 -0400

    5417: one more test condition for dataclass=File

diff --git a/apps/workbench/test/integration/anonymous_access_test.rb b/apps/workbench/test/integration/anonymous_access_test.rb
index d1aea71..1b187e7 100644
--- a/apps/workbench/test/integration/anonymous_access_test.rb
+++ b/apps/workbench/test/integration/anonymous_access_test.rb
@@ -247,6 +247,7 @@ class AnonymousAccessTest < ActionDispatch::IntegrationTest
     ['new_pipeline_in_publicly_accessible_project_but_other_objects_elsewhere', false],
     ['new_pipeline_in_publicly_accessible_project_but_other_objects_elsewhere', false, 'spectator'],
     ['new_pipeline_in_publicly_accessible_project_but_other_objects_elsewhere', true, 'admin'],
+    ['new_pipeline_in_publicly_accessible_project_with_dataclass_file_and_other_objects_elsewhere', false],
     ['new_pipeline_in_publicly_accessible_project_with_dataclass_file_and_other_objects_elsewhere', false, 'spectator'],
     ['new_pipeline_in_publicly_accessible_project_with_dataclass_file_and_other_objects_elsewhere', true, 'admin'],
   ].each do |fixture, objects_readable, user=nil|
@@ -276,9 +277,9 @@ class AnonymousAccessTest < ActionDispatch::IntegrationTest
       else
         assert_no_text 'This pipeline was created from'  # template is not readable
         input = object['components']['foo']['script_parameters']['input']['value']
-        input = input.gsub('/', '\\/')
         assert_no_selector 'a', text: input
         if user
+          input = input.gsub('/', '\\/')
           assert_text "One or more inputs provided are not readable"
           assert_selector "input[type=text][value=#{input}]"
           assert_selector 'a.disabled', text: 'Run'

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list