5010: fixed integration test
authorTim Pierce <twp@curoverse.com>
Mon, 26 Jan 2015 15:24:40 +0000 (10:24 -0500)
committerTim Pierce <twp@curoverse.com>
Mon, 26 Jan 2015 15:24:40 +0000 (10:24 -0500)
Fixed a failing integration test that checked for the presence of a
collection in the Home project after being deleted.  Removed the
assertion that checked the Home project post-deletion.

apps/workbench/test/integration/projects_test.rb

index 77d5722947abb24e0d02bc452819960c85b5ccfc..7f051f673f6f3d87cead8657f35e8d7732b09c34 100644 (file)
@@ -239,14 +239,6 @@ class ProjectsTest < ActionDispatch::IntegrationTest
 
       when 'Remove'
         assert page.has_no_text?(my_collection['name']), 'Collection still found in src project after remove'
-        visit page_with_token 'active', '/'
-        find("#projects-menu").click
-        find(".dropdown-menu a", text: "Home").click
-        assert page.has_text?(my_collection['name']), 'Collection not found in home project after remove'
-        if expect_name_change
-          assert page.has_text?(my_collection['name']+' removed from ' + src['name']),
-            'Collection with update name is not found in home project after remove'
-        end
       end
     end
   end