<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yuroyoro</author_name>
  <author_url>https://blog.hatena.ne.jp/yuroyoro/</author_url>
  <blog_title>( ꒪⌓꒪) ゆるよろ日記</blog_title>
  <blog_url>https://yuroyoro.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Rails</anon>
    <anon>RSpec</anon>
  </categories>
  <description>RSpecの話です。 RSpecは、テストコードがそのまま仕様を記述するドキュメントになる、というのが大きな利点の一つです。 しかし、rspecコマンドに-dオプションを渡して出力されるドキュメントは、必ずしも読める文章になっているとは限りません。 例として、以下のようなCanCanのspecを見てみます。 require 'spec_helper' require &quot;cancan/matchers&quot; describe Ability do context 'an user' do let(:user) { Factory.create(:user) } let(:article) { Fac…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fyuroyoro.hatenablog.com%2Fentry%2F20120110%2F1326185218&quot; title=&quot; ちょっとの手間でRSpecの出力をキレイにするためにnamed_letというのを書いてみた - ( ꒪⌓꒪) ゆるよろ日記&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>http://cdn-ak.f.st-hatena.com/images/fotolife/y/yuroyoro/20120110/20120110174348.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-01-10 17:46:58</published>
  <title> ちょっとの手間でRSpecの出力をキレイにするためにnamed_letというのを書いてみた</title>
  <type>rich</type>
  <url>https://yuroyoro.hatenablog.com/entry/20120110/1326185218</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
