refactor(stimulus): initiate react components via stimulus
This commit is contained in:
parent
f49e671d24
commit
64c599e208
14 changed files with 113 additions and 148 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue