spec: another isolated type_de_champ_repetition
This commit is contained in:
parent
0fc71afc29
commit
d33e7c8cab
1 changed files with 2 additions and 1 deletions
|
@ -90,7 +90,8 @@ shared_examples 'type_de_champ_spec' do
|
||||||
end
|
end
|
||||||
|
|
||||||
describe 'changing the type_champ from a repetition' do
|
describe 'changing the type_champ from a repetition' do
|
||||||
let(:tdc) { create(:type_de_champ_repetition, :with_types_de_champ) }
|
let!(:procedure) { create(:procedure) }
|
||||||
|
let(:tdc) { create(:type_de_champ_repetition, :with_types_de_champ, procedure: procedure) }
|
||||||
|
|
||||||
before do
|
before do
|
||||||
tdc.update_attribute('type_champ', target_type_champ)
|
tdc.update_attribute('type_champ', target_type_champ)
|
||||||
|
|
Loading…
Reference in a new issue