visit "/"assert_content "Homepage"page.must_have_content "Homepage"within ".login" doassert_no_content "Signed in as"page.must_have_no_content "Signed in as"endassert_link "Sign in"assert_link find(".login"), "Sign in"find(".login").must_have_link("Sign in")assert_selector 'li:first', text: "Item 1"page.must_have_selector 'li:first', text: "Item 1"
--
-- You received this message because you are subscribed to the Google Groups minitest-rails group. To post to this group, send email to minites...@googlegroups.com. To unsubscribe from this group, send email to minitest-rail...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/minitest-rails?hl=en
---
You received this message because you are subscribed to the Google Groups "minitest-rails" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minitest-rail...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.