如何在 rspec 中编写以下功能?
特点:登录;为了以用户身份使用该网站,我希望能够登录
Scenario: Signing in via confirmation Given there are the following users: |email |password| |user@example.com |password| And "user@example.com" opens the mail with subject "Confirmation instructions" And they click the first link in the email Then I should see "Your account was successfully confirmed" And I should see "Signed in as user@example.com"