<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>wai-doi</author_name>
  <author_url>https://blog.hatena.ne.jp/wai-doi/</author_url>
  <blog_title>どいブログ</blog_title>
  <blog_url>https://wai-doi.hatenablog.com/</blog_url>
  <categories>
    <anon>Gem</anon>
    <anon>Ruby</anon>
  </categories>
  <description>この記事は「ESM Advent Calendar 2021」の3日目の記事です。 adventar.org はじめに Railsアプリケーションをの開発でRSpecを使ってテストを書くことが多いです。私はRSpecを書くときに、トップレベルの階層の describe をdescribe ではなく RSpec.describe でいつも書いています。 トップレベルに describe を書くパターン。 descirbe User, type: :model do descirbe &quot;foo&quot; do # ... end end トップレベルに RSpec.describe を書くパターン。 RS…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwai-doi.hatenablog.com%2Fentry%2Frspec-describe&quot; title=&quot;describeとRSpec.describeはどちらの書き方が良いのか - どいブログ&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-12-03 23:00:34</published>
  <title>describeとRSpec.describeはどちらの書き方が良いのか</title>
  <type>rich</type>
  <url>https://wai-doi.hatenablog.com/entry/rspec-describe</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
