change a mention of type to class as it makes sense here
Merge pull request #1803 from rspec/rename_class_to_type

Change mention of type to class.