<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>thinkAmi</author_name>
  <author_url>https://blog.hatena.ne.jp/thinkAmi/</author_url>
  <blog_title>メモ的な思考的な</blog_title>
  <blog_url>https://thinkami.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Rails</anon>
    <anon>RSpec</anon>
  </categories>
  <description>前回に続き、RSpecのchangeマッチャに関する記事です。 値の変化を検証する時は change マッチャが便利です。 ただ、「こんな時どうするんだっけ」と調べることが多かったことから、 change マッチャまわりをいろいろ試してみたときのメモを残します。 目次 環境 ドキュメントについて メソッドスタイルとブロックスタイル 増減を確認する(by, from, to) 増減の幅(最小・最大)を検証 (by_at_least, by_at_most) 変化がないことを検証 (not_to + change) andとchangeの組み合わせ 2つとも変化あり (change and cha…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2023%2F05%2F05%2F233348&quot; title=&quot;Rails + RSpecにて、changeマッチャまわりをいろいろ試してみた - メモ的な思考的な&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>2023-05-05 23:33:48</published>
  <title>Rails + RSpecにて、changeマッチャまわりをいろいろ試してみた</title>
  <type>rich</type>
  <url>https://thinkami.hatenablog.com/entry/2023/05/05/233348</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
