demarches-normaliennes/spec/views/users/description/champs/_pays.html.haml_spec.rb
2017-03-29 14:22:23 +02:00

13 lines
315 B
Ruby

require 'spec_helper'
describe 'users/description/champs/pays.html.haml', type: :view do
let(:champ) { create(:champ) }
before do
render 'users/description/champs/pays.html.haml', champ: champ.decorate
end
it 'should render pays drop down list' do
expect(rendered).to include("FRANCE")
end
end