diff --git a/spec/features/components/expander_spec.rb b/spec/features/components/expander_spec.rb index d0f351c52..c602313b3 100644 --- a/spec/features/components/expander_spec.rb +++ b/spec/features/components/expander_spec.rb @@ -2,7 +2,7 @@ feature 'React Expander', js: true do scenario 'using the component' do - visit '/react_all_expander.html' + visit '/react_components_expander.html' within_example_containing('Toggle Content') do expect(page).not_to have_content('Content in expander') diff --git a/spec/features/components/modal_spec.rb b/spec/features/components/modal_spec.rb index 86605b52f..186d229fb 100644 --- a/spec/features/components/modal_spec.rb +++ b/spec/features/components/modal_spec.rb @@ -2,7 +2,7 @@ feature 'React Modal', js: true do scenario 'using the component' do - visit '/react_all_modals.html' + visit '/react_components_modals.html' expect(page).not_to have_css('.modal') expect(page).not_to have_css('.modal-backdrop')