<?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>ActiveAdmin</anon>
    <anon>Rails</anon>
    <anon>RSpec</anon>
  </categories>
  <description>Active AdminのControllerに手を加えた際、テストコードがほしくなりました。 Wikiを見たところ、controller specでの実装でした。 Testing your ActiveAdmin controllers with RSpec · activeadmin/activeadmin Wiki ただ、現在では controller spec よりも request spec が推奨されています。 Rails: Rails 5 のサポート | RSpec 3.5 がリリースされました！ そこで、Active Admin向けのテストコードを request spec で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fthinkami.hatenablog.com%2Fentry%2F2021%2F07%2F22%2F221746&quot; title=&quot;Rails + Active Adminで、Active Admin向けのテストコードを request spec で書いてみた - メモ的な思考的な&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-07-22 22:17:46</published>
  <title>Rails + Active Adminで、Active Admin向けのテストコードを request spec で書いてみた</title>
  <type>rich</type>
  <url>https://thinkami.hatenablog.com/entry/2021/07/22/221746</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
