<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>milk1000cc</author_name>
  <author_url>https://blog.hatena.ne.jp/milk1000cc/</author_url>
  <blog_title>milk1000cc</blog_title>
  <blog_url>https://milk1000cc.hatenablog.com/</blog_url>
  <categories>
    <anon>webmock</anon>
    <anon>vcr</anon>
    <anon>ruby</anon>
    <anon>rspec</anon>
  </categories>
  <description>HTTP リクエストをスタブ化する WebMock というライブラリがあります。 これは便利なのですが、リクエストの数が増えてくると、テストデータの管理が大変な場合があります。 VCR を使うと、自動でテストデータを作成してくれて便利です。 参考: VCRを使うとRSpecのwebmockの作成が超絶楽になった！ - 酒と泪とRubyとRailsと ここでは、参考記事に載っていない、RSpec のメタデータで記述する方法を紹介します。 Gemfile group :test do gem 'webmock' gem 'vcr' end spec/spec_helper.rb RSpec.con…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmilk1000cc.hatenablog.com%2Fentry%2F2014%2F05%2F23%2F134501&quot; title=&quot;RSpec + VCR で HTTP テストデータを簡単に作成する - milk1000cc&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>2014-05-23 13:45:01</published>
  <title>RSpec + VCR で HTTP テストデータを簡単に作成する</title>
  <type>rich</type>
  <url>https://milk1000cc.hatenablog.com/entry/2014/05/23/134501</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
