aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorAlexey Vakhov <vakhov@gmail.com>2012-04-28 09:17:10 +0400
committerAlexey Vakhov <vakhov@gmail.com>2012-04-28 09:17:10 +0400
commit7e75dcbff30657f395da9769b34ff252b7485e03 (patch)
tree82462b8ad4d1f649a7944c896507aa0c6d2bfc1c /guides
parentea6bccea1b96d37a7b68d7d4436a0289972ee8ae (diff)
downloadrails-7e75dcbff30657f395da9769b34ff252b7485e03.tar.gz
rails-7e75dcbff30657f395da9769b34ff252b7485e03.tar.bz2
rails-7e75dcbff30657f395da9769b34ff252b7485e03.zip
Update contributing guide - run single test
Diffstat (limited to 'guides')
-rw-r--r--guides/source/contributing_to_ruby_on_rails.textile7
1 files changed, 7 insertions, 0 deletions
diff --git a/guides/source/contributing_to_ruby_on_rails.textile b/guides/source/contributing_to_ruby_on_rails.textile
index fbb3483dae..5f33336fdf 100644
--- a/guides/source/contributing_to_ruby_on_rails.textile
+++ b/guides/source/contributing_to_ruby_on_rails.textile
@@ -105,6 +105,13 @@ $ cd railties
$ TEST_DIR=generators bundle exec rake test
</shell>
+You can run any single test separately too:
+
+<shell>
+$ cd actionpack
+$ ruby -Itest test/template/form_helper_test.rb
+</shell>
+
h4. Warnings
The test suite runs with warnings enabled. Ideally, Ruby on Rails should issue no warnings, but there may be a few, as well as some from third-party libraries. Please ignore (or fix!) them, if any, and submit patches that do not issue new warnings.