<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tomute</author_name>
  <author_url>https://blog.hatena.ne.jp/tomute/</author_url>
  <blog_title>tomute's note</blog_title>
  <blog_url>https://tomute.hateblo.jp/</blog_url>
  <categories>
    <anon>JavaScript</anon>
  </categories>
  <description>REST APIのテストフレームワークであるFrisby.jsのTipsを以下に記載する。 なお、Frisby.jsの導入に関しては「REST APIのテストをFrisbyで自動化する - アシアルブログ」が分かりやすい。 レスポンスとして返ってくるJSONを検証するためにexpectJSONとexpectJSONTypesという関数が用意されているが、第一引数に指定可能なpathの使い方を紹介する（pathは省略可能）。 【pathによるショートカット】 { &quot;member&quot;: { &quot;name&quot;: &quot;tomute&quot;, &quot;sex&quot;: &quot;male&quot; } } まず、上記のようなレスポンスが返って来…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftomute.hateblo.jp%2Fentry%2F20140614%2F1402761658&quot; title=&quot; Frisby.jsのTips（expectJSONとexpectJSONTypesのpath指定） - tomute&amp;#39;s note&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>2014-06-14 01:00:58</published>
  <title> Frisby.jsのTips（expectJSONとexpectJSONTypesのpath指定）</title>
  <type>rich</type>
  <url>https://tomute.hateblo.jp/entry/20140614/1402761658</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
