---
title: "在rspec里使用 route path"
author: "夜鸣猪"
date: "2013-05-01T20:09:39Z"
tags: []
categories: ["编程语言"]
slug: "rspec-route-path"
draft: false
lastmod: "2013-05-01T20:09:39Z"
id: 1858211
url: "https://hlee.iteye.com/blog/1858211"
---

```ruby

Rspec.configure do |config|
  config.include Rails.application.routes.url_helpers
  ...
end


```