fix specs
This commit is contained in:
parent
b586f23009
commit
8722a10d63
2 changed files with 1 additions and 12 deletions
|
@ -60,13 +60,6 @@ describe Champ do
|
|||
|
||||
describe "associations" do
|
||||
it { is_expected.to belong_to(:dossier) }
|
||||
|
||||
context 'when the parent dossier is discarded' do
|
||||
let(:discarded_dossier) { create(:dossier, :discarded) }
|
||||
subject(:champ) { discarded_dossier.champs_public.first }
|
||||
|
||||
it { expect(champ.reload.dossier).to eq discarded_dossier }
|
||||
end
|
||||
end
|
||||
|
||||
describe "normalization" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue