<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hachimaki37</author_name>
  <author_url>https://blog.hatena.ne.jp/hachimaki37/</author_url>
  <blog_title>気ままに気ままのEMブログ</blog_title>
  <blog_url>https://hachimaki37.hatenablog.com/</blog_url>
  <categories>
    <anon>Rspec</anon>
  </categories>
  <description>こんにちは。腰の痛みを軽減させるためにマッサージ機を当て続けたら痛みが倍増しました。どうもハチマキです。 はじめに 今回はrspecの振る舞いテストで、下記のようなselectの値が選択されているかというテストを書きたい！けど、エラーが出ました。 ググった結果解消できたので、解決方法について書いていこうと思います。 本日の概要 : セレクトボックスなどの要素を評価したい場合のテスト方法 事象 フォームで入力した値をselectできるようにした時に、expect(page).to have_text('test1')のように書いたら普通にエラーになりました。 原因は単純にtextではないから。で…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhachimaki37.hatenablog.com%2Fentry%2F2020%2F08%2F22%2F101029&quot; title=&quot;【spec / capybara】セレクトボックスなどの要素を評価したい場合のテスト方法 - 気ままに気ままのEMブログ&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://cdn-ak.f.st-hatena.com/images/fotolife/h/hachimaki37/20200821/20200821122527.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-08-22 10:10:29</published>
  <title>【spec / capybara】セレクトボックスなどの要素を評価したい場合のテスト方法</title>
  <type>rich</type>
  <url>https://hachimaki37.hatenablog.com/entry/2020/08/22/101029</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
