Spec STI loading champ/type de champ
This commit is contained in:
parent
a9f078265a
commit
9cc6d494a4
19 changed files with 126 additions and 79 deletions
|
@ -33,7 +33,7 @@ shared_examples 'champ_spec' do
|
|||
end
|
||||
|
||||
context "when type_champ=date" do
|
||||
let(:type_de_champ) { create(:type_de_champ, type_champ: "date") }
|
||||
let(:type_de_champ) { create(:type_de_champ_date) }
|
||||
let(:champ) { type_de_champ.champ.create }
|
||||
|
||||
it "should convert %d/%m/%Y format to ISO" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue