[rspec] cleaned up template helpers