Update codegenerator_spec.rb