mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-06 05:55:21 +02:00
Remove unused class
This commit is contained in:
parent
88359be7e4
commit
95ec6e0b4e
3 changed files with 3 additions and 14 deletions
|
@ -1,11 +0,0 @@
|
|||
class TransactionsFeedData
|
||||
attr_reader :family
|
||||
|
||||
def initialize(family, transactions)
|
||||
@family = family
|
||||
@transactions = transactions
|
||||
end
|
||||
|
||||
private
|
||||
attr_reader :transactions
|
||||
end
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue