Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-5572

Use RSpec .expect syntax

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      MongoDB Ruby projects are not using modern RSpec .expect syntax (they are using old .should syntax.) This is causing code reviews to be delayed due to nits about expect vs. should.
       
      Let's fix the issue permanently in all projects. I've used Transpec gem to do the port, it seems to be working with issue.
       
      Please merge the following PRs:
       

      These PRs only change test files, and so should be considered "safe" to merge. I appreciate an expedited review as these will have conflicts with other PRs.
       

            Assignee:
            alex.bevilacqua@mongodb.com Alex Bevilacqua
            Reporter:
            shields@tablecheck.com Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: