Fix bug publish procedure with same path
This commit is contained in:
parent
646fc37daf
commit
decde2ee6c
2 changed files with 2 additions and 1 deletions
|
@ -299,7 +299,7 @@ describe Admin::ProceduresController, type: :controller do
|
|||
it 'archive previous procedure' do
|
||||
expect(procedure2.published).to be_truthy
|
||||
expect(procedure2.archived).to be_truthy
|
||||
expect(procedure2.path).not_to be_nil
|
||||
expect(procedure2.path).to be_nil
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue