<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jetglass</author_name>
  <author_url>https://blog.hatena.ne.jp/jetglass/</author_url>
  <blog_title>Shred IT!!!!</blog_title>
  <blog_url>https://jetglass.hatenablog.jp/</blog_url>
  <categories>
    <anon>Rails</anon>
    <anon>Ruby</anon>
    <anon>勉強</anon>
    <anon>Rspec</anon>
  </categories>
  <description>概要 外部サイトをテストしたい！なんてことはほとんどないが、 スクレイピングだったりで外部サイトに依存する場合に検知できる方法ないかと思い、 Rspec + Capybara + Poltergeist で外部サイトをテストしてみた。 準備 ruby-2.1.3 bundler をインストールしておくこと phantomjs をインストールしておくこと(Mac なら brew install phantomjs) 必要 gem のインストール # cd [WORK_DIR] # vim Gemfile source &quot;http://rubygems.org&quot; group :test do ge…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjetglass.hatenablog.jp%2Fentry%2F2015%2F06%2F08%2F180535&quot; title=&quot;Rspec + Capybara + Poltergeist で外部サイトのテストをする方法 - Shred IT!!!!&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://cdn-ak.f.st-hatena.com/images/fotolife/j/jetglass/20150512/20150512131041.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-06-08 18:05:35</published>
  <title>Rspec + Capybara + Poltergeist で外部サイトのテストをする方法</title>
  <type>rich</type>
  <url>https://jetglass.hatenablog.jp/entry/2015/06/08/180535</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
