Update spec/models/procedure_spec.rb

Co-authored-by: Pierre de La Morinerie <kemenaran@gmail.com>
This commit is contained in:
Paul Chavard 2021-06-01 10:49:06 +02:00 committed by Paul Chavard
parent 3071af220a
commit 9819a5ff77

View file

@ -674,7 +674,7 @@ describe Procedure do
expect(procedure.published_revision.published_at).not_to eq(now)
end
it "shouldn't create a new revision" do
it "doesn't create a new revision" do
expect(procedure.published_revision).not_to be_nil
expect(procedure.draft_revision).not_to be_nil
expect(procedure.revisions.count).to eq(2)