<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>arcright</author_name>
  <author_url>https://blog.hatena.ne.jp/arcright/</author_url>
  <blog_title>chulip.org</blog_title>
  <blog_url>https://chulip.org/</blog_url>
  <categories>
    <anon>RSpec</anon>
    <anon>Ruby</anon>
  </categories>
  <description>subjectを使うとsubjectの値がitのレシーバになる為、共通のレシーバについてテストを書くときに便利 # -*- config: utf-8 -*- require 'rspec' describe 'homu' do before do @homu = &quot;hoge&quot; end subject { @homu } it { should == &quot;hoge&quot; } it { should be_an_instance_of String } # 明示的に指定して使うこともできる。例はひどいが it { subject.upcase.should == &quot;HOGE&quot; } end 参考にさせて…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchulip.org%2Fentry%2F20110704%2F1309789710&quot; title=&quot;RSpecのSubjectについて - chulip.org&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>2011-07-04 23:28:30</published>
  <title>RSpecのSubjectについて</title>
  <type>rich</type>
  <url>https://chulip.org/entry/20110704/1309789710</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
