<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>izumin5210</author_name>
  <author_url>https://blog.hatena.ne.jp/izumin5210/</author_url>
  <blog_title>Augmented Usamimi</blog_title>
  <blog_url>https://izumin.hateblo.jp/</blog_url>
  <categories>
    <anon>Ruby</anon>
    <anon>Ruby on Rails</anon>
    <anon>RSpec</anon>
  </categories>
  <description>Controller Concernのテスト 例えばいいねアクションを追加するためのLikableというものがあるとする． これのテストをどうするか． # app/controllers/concerns/likable.rb module Likable extend ActiveSupport::Concern included do before_action :set_likable end def like current_user.likes.create(likable: @likable) # viewをrenderしたりとか end private def set_likab…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fizumin.hateblo.jp%2Fentry%2F2015%2F01%2F19%2F235319&quot; title=&quot;【Rails】Controller Concernのテスト - Augmented Usamimi&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>http://ecx.images-amazon.com/images/I/51gar5P8bEL.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-01-19 23:53:19</published>
  <title>【Rails】Controller Concernのテスト</title>
  <type>rich</type>
  <url>https://izumin.hateblo.jp/entry/2015/01/19/235319</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
