Fix broken FLE spec in mongoid/tasks/database_rake_spec

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor - P4
    • 9.0.0
    • Affects Version/s: None
    • Component/s: FLE
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I am pretty sure this spec related to FLE is broken and Mongoid is skipping it in test runs.

      You can see the failure here: https://github.com/tablecheck/mongoid-ultra/actions/runs/5989956616/job/16246745994

      There are two problems:

      1. The DB client for encrypted is not configured correctly.
      2. OptionParser#order! is choking on RSpec's default --pattern option. This might be somewhat environment specific, but AFAIK RSpec injects this automatically.

              Assignee:
              Jamis Buck
              Reporter:
              Johnny Shields
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: