Tests are added to check downloading an unprotected ETD as a non-logged in user and non-availability of download for restricted ETDs. A search spec for a public ETD is also added.
In support of this:
The :etd factory is extended to accept a pdf keyword argument which accepts a Hyrax::UploadedFile. If given the file will be attached to the work in a way similar to what happens in the actor stack on ingest.
A :perform_enqueued spec metadata element is introduced to setup (and tear down) the test queue adapter to perform jobs inline.
Tests are added to check downloading an unprotected ETD as a non-logged in user and non-availability of download for restricted ETDs. A search spec for a public ETD is also added.
In support of this:
The
:etd
factory is extended to accept apdf
keyword argument which accepts aHyrax::UploadedFile
. If given the file will be attached to the work in a way similar to what happens in the actor stack on ingest.A
:perform_enqueued
spec metadata element is introduced to setup (and tear down) the test queue adapter to perform jobs inline.Closes #9 Closes #60