configuration_generator_spec uses newer rspec conventions

@adamedx