Fix bug publish procedure with same path

This commit is contained in:
Xavier J 2016-12-21 11:00:05 +01:00
parent 646fc37daf
commit decde2ee6c
2 changed files with 2 additions and 1 deletions

View file

@ -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