continue to refactor specs to use current ruby hash syntax