11870: minor update
[arvados.git] / apps / workbench / test / controllers / trash_items_controller_test.rb
1 require 'test_helper'
2
3 class TrashItemsControllerTest < ActionController::TestCase
4   test "untrash collection with same name as another collection" do
5     collection = api_fixture('collections')['trashed_collection_to_test_name_conflict_on_untrash']
6     items = [collection['uuid']]
7     post :untrash_items, {
8       selection: items,
9       format: :js
10     }, session_for(:active)
11
12     assert_response :success
13   end
14 end