roadmap icon indicating copy to clipboard operation
roadmap copied to clipboard

Some Test Suite Files Missing `_spec.rb` Format and Not Being Executed

Open aaronskiba opened this issue 1 year ago • 0 comments

Please complete the following fields as applicable:

What version of the DMPRoadmap code are you running? (e.g. v2.2.0)

  • v4.2.0 Expected behaviour:
  • Spec files must end in _spec.rb to be executed via the following commands:
# Default: Run all spec files (i.e., those matching spec/**/*_spec.rb)
$ bundle exec rspec

# Run all spec files in a single directory (recursively)
$ bundle exec rspec spec/models

Actual behaviour:

  • Some files that are probably meant to be spec files are missing the _spec.rb ending.
    • spec/mixins/versionable_model.rb
    • spec/presenters/plan_presenter.rb
    • spec/requests/api/v1/plans_controller.rb

aaronskiba avatar Jul 11 '24 22:07 aaronskiba