<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hana-da</author_name>
  <author_url>https://blog.hatena.ne.jp/hana-da/</author_url>
  <blog_title>はなメモだ</blog_title>
  <blog_url>https://hana-da.hatenadiary.org/</blog_url>
  <categories>
    <anon>test</anon>
    <anon>rspec</anon>
    <anon>ruby</anon>
  </categories>
  <description>やっぱりモックとスタブの違いがわからんとです。 使いわけもわからんとです。 とりあえず http://d.hatena.ne.jp/takihiro/20081023/1224762895 これが一番しっくり来てるんだけど、実際自分で書こうとすると、やっぱり使いわけできないというか。。。モックっていつ使うの？たとえば。。。 Gameクラス*1 セーブするとセーブデータが保存される Game#saved? でセーブデータがあるかどうか確認できる てな仕様があったとして Game#saved? の spec は describe Game, &quot;セーブデータが存在する時&quot; do before do …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhana-da.hatenadiary.org%2Fentry%2F20091214%2F1260755279&quot; title=&quot; モックとスタブ - はなメモだ&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>2009-12-14 10:47:59</published>
  <title> モックとスタブ</title>
  <type>rich</type>
  <url>https://hana-da.hatenadiary.org/entry/20091214/1260755279</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
