examples/sinatra_root/features/errors.feature in email_spec-1.2.0 vs examples/sinatra_root/features/errors.feature in email_spec-1.2.1
- old
+ new
@@ -12,12 +12,20 @@
Scenario: I fail to open an email with incorrect subject
Then I should receive an email
When "example@example.com" opens the email with subject "no email"
+ Scenario: I fail to open an email with incorrect subject
+ Then I should receive an email
+ When "example@example.com" opens the email with subject /no email/
+
Scenario: I fail to open an email with incorrect text
Then I should receive an email
When "example@example.com" opens the email with text "no email"
+
+ Scenario: I fail to open an email with incorrect text
+ Then I should receive an email
+ When "example@example.com" opens the email with text /no email/
Scenario: I fail to receive an email with the expected link
Then I should receive an email
When I open the email
When I follow "link that doesn't exist" in the email