refactor(stimulus): initiate react components via stimulus

This commit is contained in:
Paul Chavard 2022-04-20 11:14:48 +02:00
parent f49e671d24
commit 64c599e208
14 changed files with 113 additions and 148 deletions

View file

@ -87,7 +87,7 @@ describe 'shared/dossiers/edit.html.haml', type: :view do
let(:champ_value) { ['banana', 'grapefruit'].to_json }
it 'renders the list as a multiple-selection dropdown' do
expect(subject).to have_selector('[data-react-class="ComboMultipleDropdownList"]')
expect(subject).to have_selector('[data-react-component-value="ComboMultipleDropdownList"]')
end
end
end