From: Lucas Di Pentima Date: Fri, 21 Jul 2017 18:15:57 +0000 (-0300) Subject: 11167: Fixed integration test about collection's sharing link. X-Git-Tag: 1.1.0~92^2~17 X-Git-Url: https://git.arvados.org/arvados.git/commitdiff_plain/8f3070e16d4eaa581555f63e74ebe578927bfcce 11167: Fixed integration test about collection's sharing link. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- diff --git a/apps/workbench/test/integration/collections_test.rb b/apps/workbench/test/integration/collections_test.rb index 27481c061a..abe34ac3b2 100644 --- a/apps/workbench/test/integration/collections_test.rb +++ b/apps/workbench/test/integration/collections_test.rb @@ -44,7 +44,7 @@ class CollectionsTest < ActionDispatch::IntegrationTest test "creating and uncreating a sharing link" do coll_uuid = api_fixture("collections", "collection_owned_by_active", "uuid") download_link_re = - Regexp.new(Regexp.escape("/collections/download/#{coll_uuid}/")) + Regexp.new(Regexp.escape("/c=#{coll_uuid}/")) visit page_with_token("active_trustedclient", "/collections/#{coll_uuid}") within "#sharing-button" do check_sharing(:on, download_link_re)