test: remove false positive warning about expect.not_to raise(SpecificError) syntax
This commit is contained in:
parent
1da1e67067
commit
edc790be8f
1 changed files with 1 additions and 1 deletions
|
@ -1019,7 +1019,7 @@ describe Procedure do
|
|||
|
||||
procedure.reset_draft_revision!
|
||||
|
||||
expect { published_tdc.reload }.not_to raise_error(ActiveRecord::RecordNotFound)
|
||||
expect { published_tdc.reload }.not_to raise_error
|
||||
expect { draft_tdc.reload }.to raise_error(ActiveRecord::RecordNotFound)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue