Unset template property before deleting template in rspec-system