<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yohfee</author_name>
  <author_url>https://blog.hatena.ne.jp/yohfee/</author_url>
  <blog_title>@yohfee.blog!</blog_title>
  <blog_url>https://yohfee.hatenadiary.org/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>シリーズ(？)の途中ですが軽く脱線。 route_toマッチャを使うと出来るみたい。名前付きじゃなくてもroute_toマッチャ使うんだけどね。ルーティング可能かどうかだけならbe_routableマッチャでよさげ。spec:routingタスクでルーティングだけテストできる。 % rake spec:routing routes to the pages controller GET root_path should be routable should route to {:controller=&gt;&quot;pages&quot;, :action=&gt;&quot;home&quot;} GET service_path sho…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyohfee.hatenadiary.org%2Fentry%2F20110224%2F1298553508&quot; title=&quot;RSpec Railsで名前付きルートのテスト - @yohfee.blog!&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2011-02-24 22:18:28</published>
  <title>RSpec Railsで名前付きルートのテスト</title>
  <type>rich</type>
  <url>https://yohfee.hatenadiary.org/entry/20110224/1298553508</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
