aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides
diff options
context:
space:
mode:
authorPratik Naik <pratiknaik@gmail.com>2009-02-03 22:49:56 +0000
committerPratik Naik <pratiknaik@gmail.com>2009-02-03 22:49:56 +0000
commitc0eeb9f1e20af2a5c4f77c71fd1236e6c1584f05 (patch)
treee92a7bfd6def8b7fce289476c406a8101f9a2681 /railties/doc/guides
parent9f030acf22696a476578e9ccde9984fa1b86f02c (diff)
parent34a37ea9e8265972a93f0c4f62e44308c27751dd (diff)
downloadrails-c0eeb9f1e20af2a5c4f77c71fd1236e6c1584f05.tar.gz
rails-c0eeb9f1e20af2a5c4f77c71fd1236e6c1584f05.tar.bz2
rails-c0eeb9f1e20af2a5c4f77c71fd1236e6c1584f05.zip
Merge commit 'mainstream/master'
Conflicts: railties/doc/guides/html/action_mailer_basics.html railties/doc/guides/html/getting_started_with_rails.html railties/doc/guides/html/i18n.html railties/doc/guides/source/action_mailer_basics.txt railties/doc/guides/source/getting_started_with_rails.txt railties/doc/guides/source/i18n.txt
Diffstat (limited to 'railties/doc/guides')
-rw-r--r--railties/doc/guides/source/action_mailer_basics.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/doc/guides/source/action_mailer_basics.txt b/railties/doc/guides/source/action_mailer_basics.txt
index f33839a8a9..6224a7b15b 100644
--- a/railties/doc/guides/source/action_mailer_basics.txt
+++ b/railties/doc/guides/source/action_mailer_basics.txt
@@ -476,4 +476,4 @@ class UserMailerTest < ActionMailer::TestCase
What have we done? Well, we sent the email and stored the returned object in the email variable. We then ensured that it was sent (the first assert), then, in the second batch of assertion, we ensure that the email does indeed contain the values that we expect.
== Epilogue
-This guide presented how to create a mailer and how to test it. In reality, you may find that writing your tests before you actually write your code to be a rewarding experience. It may take some time to get used to TDD (Test Driven Development), but coding this way achieves two major benefits. Firstly, you know that the code does indeed work, because the tests fail (because there's no code), then they pass, because the code that satisfies the tests was written. Secondly, when you start with the tests, you don't have to make time AFTER you write the code, to write the tests, then never get around to it. The tests are already there and testing has now become part of your coding regimen. \ No newline at end of file
+This guide presented how to create a mailer and how to test it. In reality, you may find that writing your tests before you actually write your code to be a rewarding experience. It may take some time to get used to TDD (Test Driven Development), but coding this way achieves two major benefits. Firstly, you know that the code does indeed work, because the tests fail (because there's no code), then they pass, because the code that satisfies the tests was written. Secondly, when you start with the tests, you don't have to make time AFTER you write the code, to write the tests, then never get around to it. The tests are already there and testing has now become part of your coding regimen.