<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinkufencer</author_name>
  <author_url>https://blog.hatena.ne.jp/shinkufencer/</author_url>
  <blog_title>コード日進月歩</blog_title>
  <blog_url>https://shinkufencer.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>RSpec</anon>
  </categories>
  <description>2回実行した時…みたいので subjectを2回実行すればいいやん！ みたいに思うがそうは問屋が…的な。原理までは調べてないが挙動としてはこうなんだよメモ 環境 $ bundle exec rspec --version RSpec 3.7 - rspec-core 3.7.1 - rspec-expectations 3.7.0 - rspec-mocks 3.7.0 - rspec-rails 3.7.2 - rspec-support 3.7.1 結果 下記のようなクラスで class Calculate def initialize @value = 0 end def add_and…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinkufencer.hateblo.jp%2Fentry%2F2018%2F09%2F14%2F235900&quot; title=&quot;RSpecのsubjectは同一ブロック内で2回指定しても再実行されるわけではない - コード日進月歩&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>2018-09-14 23:59:00</published>
  <title>RSpecのsubjectは同一ブロック内で2回指定しても再実行されるわけではない</title>
  <type>rich</type>
  <url>https://shinkufencer.hateblo.jp/entry/2018/09/14/235900</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
