click_link 'Upload files from my computer'
# Should be looking at a new empty collection.
assert_text 'New collection'
- assert_text 'd41d8cd98f00b204e9800998ecf8427e+0'
+ assert_text ' 0 files'
+ assert_text ' 0 bytes'
# The "Upload" tab should be active and loaded.
assert_selector 'div#Upload.active div.panel'
end
- test "No Upload tab on non-writable collection" do
- need_javascript
- visit(page_with_token 'active',
- '/collections/'+api_fixture('collections')['user_agreement']['uuid'])
- assert_no_selector '.nav-tabs Upload'
- end
-
test "Upload two empty files with the same name" do
need_selenium "to make file uploads work"
visit page_with_token 'active', sandbox_path