Specs should use save!/create!/update! instead of save/create/update

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Duplicate
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This was given as feedback by Oleg on https://github.com/mongodb/mongoid/pull/5000 to ensure specs create documents when they claim to, however it should be applied globally across all specs as much as possible.

      (Of course there are certain cases where we can't/shouldn't use the bang versions.)

            Assignee:
            Oleg Pudeyev (Inactive)
            Reporter:
            Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: