Remove tests that test nothing

This commit is contained in:
gregoirenovel 2017-06-27 17:00:31 +02:00
parent b664928673
commit 53b94e0017

View file

@ -247,16 +247,8 @@ describe Procedure do
procedure.reload procedure.reload
end end
it 'is not available from a valid path anymore' do it { expect(procedure.published).to be_truthy }
expect(procedure.path).to eq procedure_path.path it { expect(procedure.archived).to be_truthy }
expect(procedure.published).to be_truthy
expect(procedure.archived).to be_truthy
end
it 'is not in ProcedurePath table anymore' do
expect(ProcedurePath.where(path: procedure.path).count).to eq(1)
expect(ProcedurePath.find_by_procedure_id(procedure.id)).not_to be_nil
end
end end
describe 'total_dossier' do describe 'total_dossier' do