Revert "Merge pull request #4552 from tchak/champ-communes"

This reverts commit 4cec26f73a, reversing
changes made to 0ef25ef36c.
This commit is contained in:
clemkeirua 2020-01-13 16:26:27 +01:00
parent c9ac7294f5
commit 4373cb22cb
63 changed files with 1119 additions and 260 deletions

View file

@ -32,6 +32,12 @@ shared_examples 'champ_spec' do
end
end
describe '.departement', vcr: { cassette_name: 'api_geo_departements' } do
subject { Champs::DepartementChamp.departements }
it { expect(subject).to include '99 - Étranger' }
end
context "when type_champ=date" do
let(:type_de_champ) { create(:type_de_champ_date) }
let(:champ) { type_de_champ.champ.create }