{"version":"1.0","author_url":"https://blog.hatena.ne.jp/kikiki-kiki/","image_url":"https://images-fe.ssl-images-amazon.com/images/I/51nY-YLt2ZL._SL160_.jpg","categories":["RSpec","Capybara","Ruby","Unit Test"],"url":"https://chaika.hatenablog.com/entry/2019/10/07/160000","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fchaika.hatenablog.com%2Fentry%2F2019%2F10%2F07%2F160000\" title=\"RSpec Capybara href \u306e\u7121\u3044 a \u30bf\u30b0\u306b\u30cf\u30de\u308b - \u304b\u3082\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","provider_url":"https://hatena.blog","blog_title":"\u304b\u3082\u30e1\u30e2","height":"190","width":"100%","provider_name":"Hatena Blog","title":"RSpec Capybara href \u306e\u7121\u3044 a \u30bf\u30b0\u306b\u30cf\u30de\u308b","description":"RSpec\u306e feature spec \u3067 href \u306e\u7121\u3044 a \u30bf\u30b0\u306e\u30c6\u30b9\u30c8\u3092\u3057\u3088\u3046\u3068\u3057\u3066\u30cf\u30de\u3063\u305f\u306e\u3067\u30e1\u30e2 \u30dc\u30bf\u30f3 / \u30ea\u30f3\u30af\u306e\u5b58\u5728 \u30dc\u30bf\u30f3 button \u3084 submit <button>\u30dc\u30bf\u30f3\u306e\u30e9\u30d9\u30eb</button> <input type=\"submit\" value=\"\u30dc\u30bf\u30f3\u306e\u30e9\u30d9\u30eb\" /> expect(page).to have_button '\u30dc\u30bf\u30f3\u306e\u30e9\u30d9\u30eb' \u30ea\u30f3\u30af a \u30bf\u30b0\u306f\u30dc\u30bf\u30f3\u3067\u306f\u306a\u304f\u30ea\u30f3\u30af\u3067\u306a\u3044\u3068\u30de\u30c3\u30c1\u3057\u306a\u3044 <a href=\"example\">\u30ea\u30f3\u30af\u30c6\u30ad\u30b9\u30c8</a> expect(page).to have_link '\u30ea\u30f3\u30af\u30c6\u30ad\u30b9\u30c8' \u30ea\u30f3\u30af\u5148 (href) \u3082\u2026","published":"2019-10-07 16:00:00","author_name":"kikiki-kiki","blog_url":"https://chaika.hatenablog.com/"}