Rewrite safe_create_spec_helper() with ERB