finish spec/template_spec.rb