Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
キュウリとカピバラをレール2.3.9と一緒に使っています。
ページタイトルを確認するにはどうすればよいですか?私はすべてのGETリクエストに適切なページタイトルを付けるようにしていますが、キュウリのテストでそれを確認したいと思います。
とった。
Then /^I should see page title as "(.*)"$/ do |title| assert_equal title, page.find(:css, 'title').text end