Skip to content
Browse files

update readme

  • Loading branch information...
1 parent 9d2ee1b commit 90f35a994f5cd51dc28a6f0914637db06ceaeaf2 @mischa mischa committed Dec 18, 2008
Showing with 3 additions and 8 deletions.
  1. +3 −8 README.rdoc
View
11 README.rdoc
@@ -42,21 +42,16 @@ The matchers and helpers should be available for your specs by default, but you
Scenario: A new person signs up
Given I am at "/"
- And a clear email queue
+ And no emails have been sent
When I fill in "Email" with "quentin@example.com"
- And I fill in "Password" with "monkey"
- And I fill in "Password confirmation" with "monkey"
And I press "Sign up"
- Then "quentin@example.com" should receive 1 email
- And "quentin@example.com" should have 1 email
- And "foo@bar.com" should not receive an email
+ And I should receive an email
When I open the email
Then I should see "confirm" in the email
- And I should see "Account confirmation" in the subject
When I follow "confirm" in the email
Then I should see "Confirm your new account"
-Check out an app that implements these features at http://github.com/bmabey/email-spec-sample-app
+For more examples, check out spec/rails_root in the source for a small example app that implements these steps.
== TODO:

0 comments on commit 90f35a9

Please sign in to comment.
Something went wrong with that request. Please try again.