Convert admin/trends/* spec controller->system (#34003)

This commit is contained in:
Matt Jankowski 2025-02-28 05:55:37 -05:00 committed by GitHub
parent febcd0a76c
commit 3aaa388ce4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 8 additions and 84 deletions

View file

@ -11,6 +11,8 @@ RSpec.describe 'Admin::Trends::Links::PreviewCardProviders' do
context 'without selecting any records' do
it 'displays a notice about selection' do
visit admin_trends_links_preview_card_providers_path
expect(page)
.to have_title(I18n.t('admin.trends.preview_card_providers.title'))
click_on button_for_allow

View file

@ -11,6 +11,8 @@ RSpec.describe 'Admin::Trends::Links' do
context 'without selecting any records' do
it 'displays a notice about selection' do
visit admin_trends_links_path
expect(page)
.to have_title(I18n.t('admin.trends.links.title'))
click_on button_for_allow

View file

@ -11,6 +11,8 @@ RSpec.describe 'Admin::Trends::Statuses' do
context 'without selecting any records' do
it 'displays a notice about selection' do
visit admin_trends_statuses_path
expect(page)
.to have_title(I18n.t('admin.trends.statuses.title'))
click_on button_for_allow

View file

@ -11,6 +11,8 @@ RSpec.describe 'Admin::Trends::Tags' do
context 'without selecting any records' do
it 'displays a notice about selection' do
visit admin_trends_tags_path
expect(page)
.to have_title(I18n.t('admin.trends.tags.title'))
click_on button_for_allow