refinery/refinerycms — pull request #1952 by tsemana (2012-09-18 00:14:42+00:00)
Title: Adds regression test for preview after save-and-continue

An error happens when `Preview` is clicked after the title is change and save with `Save and continue editing`

```
ActiveRecord::RecordNotFound in Refinery::PagesController#preview
Couldn't find Refinery::PagePart with ID=4 for Refinery::Page with ID=
```

A spec is included that was supposed to show the bug in action BUT, as described to @parndt in irc, this test passes when run in the spec but fails when the steps outlined in the spec is done manually.