capybaraでページのhtmlコンテンツをチェックする方法は?Capybara:htmlコンテンツが必要です
page.should have_text('this is <b>bold</b> "text"')
出力:
Failure/Error: page.should have_text('this is <b>bold</b> "text"') expected there to be this is <b>bold</b> \"text\" in "....this is bold \"text\"....."
[Capybaraを使用して要素内のHTMLを取得するにはどうすればよいですか?](http://stackoverflow.com/questions/4071937/how-do-i-get-the-html-in-an-element -using-capybara) –