<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>painomi_ringo</author_name>
  <author_url>https://blog.hatena.ne.jp/painomi_ringo/</author_url>
  <blog_title>物語の記録</blog_title>
  <blog_url>https://painomi-ringo.hatenadiary.org/</blog_url>
  <categories>
    <anon>ruby</anon>
  </categories>
  <description>BounieBotを大改造するにあたって、specを書き直してるわけなのですが。 should_receive とゆー、便利な expection（じゃないのかも）を使おうとして、すごくはまりました。should_receive って先に書かなきゃだめなのね！ こんな、ちんまいspecを通すのに、えらい悩んでしまいました。。。 class SourceClass def trance_class(message) SinkClass.class_method(message) end end class SinkClass def self.class_method(message) p 'c…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpainomi-ringo.hatenadiary.org%2Fentry%2F20121103%2Fp1&quot; title=&quot;should_recieve ですごくはまったこと - 物語の記録&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>2012-11-03 00:00:00</published>
  <title>should_recieve ですごくはまったこと</title>
  <type>rich</type>
  <url>https://painomi-ringo.hatenadiary.org/entry/20121103/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
