Removing valid_attributes_for and invalid_attributes_for methods in favor of FactoryGirl.attributes_for and Fixing mistake in Document Factory