summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/RUNNING_TESTS9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/RUNNING_TESTS b/doc/RUNNING_TESTS
index edd39be4e..12a3167c0 100644
--- a/doc/RUNNING_TESTS
+++ b/doc/RUNNING_TESTS
@@ -71,3 +71,12 @@ https://sites.google.com/a/chromium.org/chromedriver/
Capybara tests can be run with:
`rails test:system`
+
+Running RuboCop, a static code analyzer
+=======================================
+
+RuboCop allows you to find out if the code violates the Ruby Style Guide.
+Checking with RuboCop is recommended when you write patches.
+
+You can run RuboCop with:
+`bundle exec rubocop [file ...]`