mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-08-07 06:25:19 +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
|
within "#confirm-dialog" do
|
||||||
click_button "Confirm"
|
click_button "Confirm"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Wait for redirect after revoke
|
# Wait for redirect after revoke
|
||||||
assert_no_selector "#confirm-dialog"
|
assert_no_selector "#confirm-dialog"
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,7 @@ class TransactionsTest < ApplicationSystemTestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
assert_text "No entries found"
|
assert_text "No entries found"
|
||||||
|
|
||||||
# Wait for Turbo to finish updating the DOM
|
# Wait for Turbo to finish updating the DOM
|
||||||
sleep 0.5
|
sleep 0.5
|
||||||
|
|
||||||
|
@ -129,7 +129,7 @@ class TransactionsTest < ApplicationSystemTestCase
|
||||||
# Remove all filters by clicking their X buttons
|
# Remove all filters by clicking their X buttons
|
||||||
# Get all the filter buttons at once to avoid stale elements
|
# Get all the filter buttons at once to avoid stale elements
|
||||||
filter_count = page.all("ul#transaction-search-filters li button").count
|
filter_count = page.all("ul#transaction-search-filters li button").count
|
||||||
|
|
||||||
# Click each one with a small delay to let Turbo update
|
# Click each one with a small delay to let Turbo update
|
||||||
filter_count.times do
|
filter_count.times do
|
||||||
page.all("ul#transaction-search-filters li button").first.click
|
page.all("ul#transaction-search-filters li button").first.click
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue