def get_instance_for_new_spec(rails_mode, target_path)
      template = get_erb_template(@custom_template, true, rails_mode, target_path)
      ERB.new(template, nil, '-', '_new_spec_code')
    end
def get_instance_for_new_spec(rails_mode, target_path)
      template = get_erb_template(@custom_template, true, rails_mode, target_path)
      ERB.new(template, nil, '-', '_new_spec_code')
    end
Returns ERB instance for creating new spec