[ARVADOS] updated: c21af94c5f61af9286fb88dbbe8a8c7449494e09

Git user git at public.curoverse.com
Thu Jun 8 15:05:40 EDT 2017


Summary of changes:
 .../controllers/trash_items_controller_test.rb     | 28 ----------------------
 1 file changed, 28 deletions(-)
 delete mode 100644 apps/workbench/test/controllers/trash_items_controller_test.rb

       via  c21af94c5f61af9286fb88dbbe8a8c7449494e09 (commit)
      from  eae753b5e9955b1c3e29782c983c25a3cb165781 (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 c21af94c5f61af9286fb88dbbe8a8c7449494e09
Author: radhika <radhika at curoverse.com>
Date:   Thu Jun 8 15:05:16 2017 -0400

    11837: Remove unnecessary test (covered in the API test)

diff --git a/apps/workbench/test/controllers/trash_items_controller_test.rb b/apps/workbench/test/controllers/trash_items_controller_test.rb
deleted file mode 100644
index d5b0d90..0000000
--- a/apps/workbench/test/controllers/trash_items_controller_test.rb
+++ /dev/null
@@ -1,28 +0,0 @@
-require 'test_helper'
-
-class TrashItemsControllerTest < ActionController::TestCase
-  reset_api_fixtures :after_each_test, false
-  reset_api_fixtures :after_suite, true
-
-  [
-    :active,
-    :admin,
-  ].each do |user|
-    test "trash index page as #{user}" do
-      get :index, {partial: :trash_rows, format: :json}, session_for(user)
-      assert_response :success
-
-      items = []
-      @response.body.scan(/tr\ data-object-uuid=\\"(.*?)\\"/).each do |uuid,|
-        items << uuid
-      end
-
-      assert_includes(items, api_fixture('collections')['unique_expired_collection']['uuid'])
-      if user == :admin
-        assert_includes(items, api_fixture('collections')['unique_expired_collection2']['uuid'])
-      else
-        assert_not_includes(items, api_fixture('collections')['unique_expired_collection2']['uuid'])
-      end
-    end
-  end
-end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list