Move custom assertion method.
Move custom assertion method.

Defining the assert_correct_state within a shoulda context caused
meant that in some cases the method was not found. Moving it to a
wider context (the test class) fixes this.

leftees/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,leftees/publisher,telekomatrix/publisher,telekomatrix/publisher,alphagov/publisher,alphagov/publisher,leftees/publisher,alphagov/publisher