Enable the Layout/SpaceInsideBlockBraces cop

This commit is contained in:
gregoirenovel 2018-01-15 21:54:40 +01:00
parent ff87d0e65f
commit 897a30da0c
23 changed files with 52 additions and 52 deletions

View file

@ -83,8 +83,8 @@ describe 'users/description/show.html.haml', type: :view do
describe 'datetime value is correctly setup when is not nil' do
it { expect(rendered).to have_css("input[type='datetime'][id='champs_#{champ_datetime.id}'][value='22/06/2016']") }
it { expect(rendered).to have_css("option[value='12'][selected='selected']")}
it { expect(rendered).to have_css("option[value='05'][selected='selected']")}
it { expect(rendered).to have_css("option[value='12'][selected='selected']") }
it { expect(rendered).to have_css("option[value='05'][selected='selected']") }
end
end

View file

@ -25,7 +25,7 @@ describe 'users/siret/index.html.haml', type: :view do
end
context 'stockage de l\'ID de la procédure dans un champs hidden' do
it {expect(rendered).to have_selector("input[type=hidden][id=procedure_id][name=procedure_id][value='#{procedure.id}']", visible: false)}
it { expect(rendered).to have_selector("input[type=hidden][id=procedure_id][name=procedure_id][value='#{procedure.id}']", visible: false) }
end
it 'le titre de la procédure est présent sur la page' do