Use RSpec's described_class feature to specify the subject

Removes code duplication, making it easier to rename classes for example.