Commit a0f8bcc2 authored by Rémy Coutable's avatar Rémy Coutable

Fix failing spec

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 49213bfb
...@@ -231,7 +231,7 @@ feature 'File blob', :js, feature: true do ...@@ -231,7 +231,7 @@ feature 'File blob', :js, feature: true do
branch_name: 'master', branch_name: 'master',
commit_message: "Add PDF", commit_message: "Add PDF",
file_path: 'files/test.pdf', file_path: 'files/test.pdf',
file_content: File.read(Rails.root.join('spec/javascripts/blob/pdf/test.pdf')) file_content: project.repository.blob_at('add-pdf-file', 'files/pdf/test.pdf').data
).execute ).execute
visit_blob('files/test.pdf') visit_blob('files/test.pdf')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment