File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -94,14 +94,14 @@ ActiveRecord::Base.connection.columns('users').map(&:name) # List all column
9494Basic usage:
9595
9696``` bash
97- rubocop # Check code style
97+ bundle exec rubocop # Check code style
9898```
9999
100100Auto-correction options:
101101
102102``` bash
103- rubocop -a # Safe auto-corrections (--auto-correct)
104- rubocop -A # Safe + unsafe auto-corrections (--auto-correct-all)
103+ bundle exec rubocop -a # Safe auto-corrections (--auto-correct)
104+ bundle exec rubocop -A # Safe + unsafe auto-corrections (--auto-correct-all)
105105```
106106
107107Common RuboCop flags:
@@ -123,6 +123,12 @@ end_time = Time.now
123123Rails .logger.debug " Operation took #{ end_time - start_time } seconds"
124124```
125125
126+ ### RSpec
127+
128+ ``` bash
129+ bundle exec rspec
130+ ```
131+
126132----------------------------
127133
128134# Initialization
You can’t perform that action at this time.
0 commit comments