Fix departements / pays / regions drop down list
This commit is contained in:
parent
ec2a4dd9a4
commit
e4826b468a
8 changed files with 51 additions and 13 deletions
|
@ -0,0 +1,13 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe 'users/description/champs/departements.html.haml', vcr: {cassette_name: 'geoapi_departements'}, type: :view do
|
||||
let(:champ) { create(:champ) }
|
||||
|
||||
before do
|
||||
render 'users/description/champs/departements.html.haml', champ: champ.decorate
|
||||
end
|
||||
|
||||
it 'should render departments drop down list' do
|
||||
expect(rendered).to include("Ain")
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue