To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorForce publishing an import
As an importer
I want to be able to force publish an imported batch of documents when it's ready
So that I don't have to go through each document individually
This means:
- should only be able to force-publish if none in the batch are in 'imported' state
- won't try to publish any imported editions that are in the 'deleted' state
- won't try to publish any imported editions that are already 'published'
- won't try to publish any new drafts created after the imported one
- will act as the "GDS Inside Government Team" user
- the log output of this process is recorded and made available
- Background
-
- Given
- I am an importer
- Scenarios
-
- Can't force publish a failed import
- Can't force publish a successful import with imported editions
- Force publishing a successful import after speed-tagging
- Can't force publish a failed import
-
- Given
- I have imported a file that failed
- Then
- I cannot force publish the import
- Can't force publish a successful import with imported editions
-
- Given
- I have imported a file that succeeded
- Then
- I cannot force publish the import
- When
- I speed tag some of the documents and make them draft
- Then
- I cannot force publish the import
- Force publishing a successful import after speed-tagging
-
- Given
- I have imported a file that succeeded
- When
- I speed tag all of the documents and make them draft
- And
- I force publish the import
- Then
- I cannot force publish the import again
- When
- the force publish import background processor runs
- Then
- I can see the log output of the force publish for my import
- And
- my imported documents are published
Last published about 7 years ago by David Heath.