3821: update test assertion that randomly fails; in fact, I don't see how it ever...
authorradhika <radhika@curoverse.com>
Tue, 28 Mar 2017 20:01:06 +0000 (16:01 -0400)
committerradhika <radhika@curoverse.com>
Tue, 28 Mar 2017 20:01:06 +0000 (16:01 -0400)
apps/workbench/test/controllers/collections_controller_test.rb

index 559e24ad02b21cf8f8e834d19fdc7126f355d132..185a7cca76b677b7e42a88166e6d472f363230c3 100644 (file)
@@ -506,7 +506,7 @@ class CollectionsControllerTest < ActionController::TestCase
     collection = api_fixture('collections')['foo_file']
     get :show, {id: collection['uuid']}, session_for(:active)
     assert_includes @response.body, collection['name']
-    assert_match /href="#{collection['uuid']}\/foo" ><\/i> foo</, @response.body
+    assert_match /not authorized to manage collection sharing links/, @response.body
   end
 
   test "No Upload tab on non-writable collection" do