Remove tests that test nothing
This commit is contained in:
parent
b664928673
commit
53b94e0017
1 changed files with 2 additions and 10 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue