<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ryuki494</author_name>
  <author_url>https://blog.hatena.ne.jp/ryuki494/</author_url>
  <blog_title>ドワンゴ教育サービス開発者ブログ</blog_title>
  <blog_url>https://blog.nnn.dev/</blog_url>
  <categories>
    <anon>バックエンド</anon>
  </categories>
  <description>目次 はじめに 1. RuboCopのワーニングと対策 1.1 定義数が多すぎる問題（RSpec/MultipleMemoizedHelpers） 対策1: 共通セットアップを切り出す、shared_context を活用する 対策2: before ブロックと変数を使う 対策3: 関連するパラメータをハッシュにまとめる 対策4: FactoryBot の trait を活用する 対策の使い分け 1.2 expect(receive) と have_received の違い（RSpec/MessageSpies） receive と have_received の根本的な違い double /…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.nnn.dev%2Fentry%2F2026%2F04%2F01%2F110000&quot; title=&quot;新卒エンジニア体験：RSpecで遭遇した罠と対策 - ドワンゴ教育サービス開発者ブログ&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>https://cdn-ak.f.st-hatena.com/images/fotolife/r/ryuki494/20260317/20260317110916.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2026-04-01 11:00:00</published>
  <title>新卒エンジニア体験：RSpecで遭遇した罠と対策</title>
  <type>rich</type>
  <url>https://blog.nnn.dev/entry/2026/04/01/110000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
