From 95ec6e0b4e80bbc3d33984b6244f7641fbe5fa96 Mon Sep 17 00:00:00 2001 From: Zach Gollwitzer Date: Fri, 18 Jul 2025 17:48:38 -0400 Subject: [PATCH] Remove unused class --- app/models/transactions_feed_data.rb | 11 ----------- test/system/settings/api_keys_test.rb | 2 +- test/system/transactions_test.rb | 4 ++-- 3 files changed, 3 insertions(+), 14 deletions(-) delete mode 100644 app/models/transactions_feed_data.rb diff --git a/app/models/transactions_feed_data.rb b/app/models/transactions_feed_data.rb deleted file mode 100644 index c42ea2a3..00000000 --- a/app/models/transactions_feed_data.rb +++ /dev/null @@ -1,11 +0,0 @@ -class TransactionsFeedData - attr_reader :family - - def initialize(family, transactions) - @family = family - @transactions = transactions - end - - private - attr_reader :transactions -end diff --git a/test/system/settings/api_keys_test.rb b/test/system/settings/api_keys_test.rb index 4aaf03e8..d6beeeee 100644 --- a/test/system/settings/api_keys_test.rb +++ b/test/system/settings/api_keys_test.rb @@ -129,7 +129,7 @@ class Settings::ApiKeysTest < ApplicationSystemTestCase within "#confirm-dialog" do click_button "Confirm" end - + # Wait for redirect after revoke assert_no_selector "#confirm-dialog" diff --git a/test/system/transactions_test.rb b/test/system/transactions_test.rb index 5f620d88..be1f9b54 100644 --- a/test/system/transactions_test.rb +++ b/test/system/transactions_test.rb @@ -117,7 +117,7 @@ class TransactionsTest < ApplicationSystemTestCase end assert_text "No entries found" - + # Wait for Turbo to finish updating the DOM sleep 0.5 @@ -129,7 +129,7 @@ class TransactionsTest < ApplicationSystemTestCase # Remove all filters by clicking their X buttons # Get all the filter buttons at once to avoid stale elements filter_count = page.all("ul#transaction-search-filters li button").count - + # Click each one with a small delay to let Turbo update filter_count.times do page.all("ul#transaction-search-filters li button").first.click