You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -221,7 +257,7 @@ Before submitting a pull request, run all tests and lints. Fix any broken tests
221
257
- Once your first PR has been merged, all commits pushed to an open PR will also run these workflows.
222
258
223
259
#### Local testing
224
-
- Run all lints with `bin/lint`.
260
+
- Run all lints with `bin/lint`. (You can lint a single file/folder with `bin/lint {path_to_folder_or_file}`.)
225
261
- Run all tests with `bundle exec rspec`
226
262
- You can run a single test with `bundle exec rspec {path_to_test_name}_spec.rb` or on a specific line by appending `:LineNumber`
227
263
- If you need to skip a failing test, place `pending("Reason you are skipping the test")` into the `it` block rather than skipping with `xit`. This will allow rspec to deliver the error message without causing the test suite to fail.
@audit.adjustment=Adjustment.new(organization_id: @audit.organization_id,storage_location_id: @audit.storage_location_id,user_id: current_user.id,comment: 'Created Automatically through the Auditing Process')
0 commit comments