Extracting duplicate spec code to shared example

Given that the datasets and generic_works controllers are practially
the same, I want to extract that behavior/meaning into a shared
example.

Closes ndlib/planning#162