Skip to content
Snippets Groups Projects
Unverified Commit 5e4be9c8 authored by Bruno Michel's avatar Bruno Michel
Browse files

Fix integration tests

Sometimes, an integration test could fail because it was trying to
create a folder while another folder had the same name (409).
parent 8ba8b2a7
No related branches found
No related tags found
No related merge requests found
......@@ -90,7 +90,7 @@ describe "A folder" do
# Check the sync (create + update) sharer -> recipient
child1.rename inst, Faker::Internet.slug
child2 = Folder.create inst, dir_id: folder.couch_id
child2 = Folder.create inst, dir_id: folder.couch_id, name: Faker::Internet.unique.slug
child1.move_to inst, child2.couch_id
opts = CozyFile.metadata_options_for(inst, label: Faker::Simpsons.quote)
opts[:mime] = 'text/plain'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment