<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kikiki-kiki</author_name>
  <author_url>https://blog.hatena.ne.jp/kikiki-kiki/</author_url>
  <blog_title>かもメモ</blog_title>
  <blog_url>https://chaika.hatenablog.com/</blog_url>
  <categories>
    <anon>RSpec</anon>
    <anon>Ruby</anon>
    <anon>Ruby on Rails</anon>
    <anon>Unit Test</anon>
  </categories>
  <description>やっはろー！RubyもRailsもほぼ初心者マン即実戦で四苦八苦してる日々です。 ActiveDecorator が使われている Rails のプロジェクトで decorator のテストを RSpec で書いていた所、decorator にあるはずのメソッドが undefined method になりテストがコケてハマったのでメモ。 # frozen_string_literal: true require 'rails_helper' RSpec.describe IdolProfileDecorator do let(:profile) { create :idol_profile ty…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2019%2F05%2F09%2F090000&quot; title=&quot;RSpec Rails Decorator で undefined method にハマる - かもメモ&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://images-fe.ssl-images-amazon.com/images/I/51-TCt0H4UL._SL160_.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-09 09:00:00</published>
  <title>RSpec Rails Decorator で undefined method にハマる</title>
  <type>rich</type>
  <url>https://chaika.hatenablog.com/entry/2019/05/09/090000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
