Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
alepbloyd committed Feb 22, 2024
1 parent 8271563 commit a975025
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/deposit_pdf_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
RSpec.describe "Deposit a PDF through dashboard" do

let(:admin_user) { FactoryBot.create(:admin_user) }
let(:pdf_path) { "#{Rails.root}/spec/fixtures/public_etds/hamlet.pdf" }
let(:pdf_path) { "#{Rails.root}/spec/fixtures/fixture_dummy.pdf" }

it 'can deposit a pdf' do
visit "/users/sign_in"
Expand Down
Binary file added spec/fixtures/fixture_dummy.pdf
Binary file not shown.

0 comments on commit a975025

Please sign in to comment.